DGtal 2.0.0
Loading...
Searching...
No Matches
ImplicitDigitalEllipse3< TPoint3 > Struct Template Reference

Public Types

typedef TPoint3 Point
typedef TPoint3 Point
typedef TPoint3 Point
typedef TPoint3 Point

Public Member Functions

 ImplicitDigitalEllipse3 (double a, double b, double c)
bool operator() (const TPoint3 &p) const
 ImplicitDigitalEllipse3 (double a, double b, double c)
bool operator() (const TPoint3 &p) const
 ImplicitDigitalEllipse3 (double a, double b, double c)
bool operator() (const TPoint3 &p) const
 ImplicitDigitalEllipse3 (double a, double b, double c)
bool operator() (const TPoint3 &p) const

Data Fields

double myA
double myB
double myC

Detailed Description

template<typename TPoint3>
struct ImplicitDigitalEllipse3< TPoint3 >

Definition at line 74 of file testLocalEstimatorFromFunctorAdapter.cpp.

Member Typedef Documentation

◆ Point [1/4]

template<typename TPoint3>
typedef TPoint3 ImplicitDigitalEllipse3< TPoint3 >::Point

Definition at line 65 of file exampleEstimatorFromSurfelFunctors.cpp.

◆ Point [2/4]

template<typename TPoint3>
typedef TPoint3 ImplicitDigitalEllipse3< TPoint3 >::Point

Definition at line 75 of file testLocalEstimatorFromFunctorAdapter.cpp.

◆ Point [3/4]

template<typename TPoint3>
typedef TPoint3 ImplicitDigitalEllipse3< TPoint3 >::Point

Definition at line 62 of file testMonge.cpp.

◆ Point [4/4]

template<typename TPoint3>
typedef TPoint3 ImplicitDigitalEllipse3< TPoint3 >::Point

Definition at line 120 of file testDigitalSurface.cpp.

Constructor & Destructor Documentation

◆ ImplicitDigitalEllipse3() [1/4]

◆ ImplicitDigitalEllipse3() [2/4]

template<typename TPoint3>
ImplicitDigitalEllipse3< TPoint3 >::ImplicitDigitalEllipse3 ( double a,
double b,
double c )
inline

Definition at line 64 of file testMonge.cpp.

65 : myA( a ), myB( b ), myC( c )
66 {}

References myA, myB, and myC.

◆ ImplicitDigitalEllipse3() [3/4]

template<typename TPoint3>
ImplicitDigitalEllipse3< TPoint3 >::ImplicitDigitalEllipse3 ( double a,
double b,
double c )
inline

Definition at line 122 of file testDigitalSurface.cpp.

123 : myA( a ), myB( b ), myC( c )
124 {}

References myA, myB, and myC.

◆ ImplicitDigitalEllipse3() [4/4]

template<typename TPoint3>
ImplicitDigitalEllipse3< TPoint3 >::ImplicitDigitalEllipse3 ( double a,
double b,
double c )
inline

Definition at line 67 of file exampleEstimatorFromSurfelFunctors.cpp.

68 : myA( a ), myB( b ), myC( c )
69 {}

References myA, myB, and myC.

Member Function Documentation

◆ operator()() [1/4]

template<typename TPoint3>
bool ImplicitDigitalEllipse3< TPoint3 >::operator() ( const TPoint3 & p) const
inline

Definition at line 71 of file exampleEstimatorFromSurfelFunctors.cpp.

72 {
73 double x = ( (double) p[ 0 ] / myA );
74 double y = ( (double) p[ 1 ] / myB );
75 double z = ( (double) p[ 2 ] / myC );
76 return ( x*x + y*y + z*z ) <= 1.0;
77 }

References myA, myB, and myC.

◆ operator()() [2/4]

template<typename TPoint3>
bool ImplicitDigitalEllipse3< TPoint3 >::operator() ( const TPoint3 & p) const
inline

Definition at line 81 of file testLocalEstimatorFromFunctorAdapter.cpp.

82 {
83 double x = ( (double) p[ 0 ] / myA );
84 double y = ( (double) p[ 1 ] / myB );
85 double z = ( (double) p[ 2 ] / myC );
86 return ( x*x + y*y + z*z ) <= 1.0;
87 }

References myA, myB, and myC.

◆ operator()() [3/4]

template<typename TPoint3>
bool ImplicitDigitalEllipse3< TPoint3 >::operator() ( const TPoint3 & p) const
inline

Definition at line 68 of file testMonge.cpp.

69 {
70 double x = ( (double) p[ 0 ] / myA );
71 double y = ( (double) p[ 1 ] / myB );
72 double z = ( (double) p[ 2 ] / myC );
73 return ( x*x + y*y + z*z ) <= 1.0;
74 }

References myA, myB, and myC.

◆ operator()() [4/4]

template<typename TPoint3>
bool ImplicitDigitalEllipse3< TPoint3 >::operator() ( const TPoint3 & p) const
inline

Definition at line 126 of file testDigitalSurface.cpp.

127 {
128 double x = ( (double) p[ 0 ] / myA );
129 double y = ( (double) p[ 1 ] / myB );
130 double z = ( (double) p[ 2 ] / myC );
131 return ( x*x + y*y + z*z ) <= 1.0;
132 }

References myA, myB, and myC.

Field Documentation

◆ myA

template<typename TPoint3>
double ImplicitDigitalEllipse3< TPoint3 >::myA

Definition at line 88 of file testLocalEstimatorFromFunctorAdapter.cpp.

Referenced by ImplicitDigitalEllipse3(), and operator()().

◆ myB

template<typename TPoint3>
double ImplicitDigitalEllipse3< TPoint3 >::myB

Definition at line 88 of file testLocalEstimatorFromFunctorAdapter.cpp.

Referenced by ImplicitDigitalEllipse3(), and operator()().

◆ myC

template<typename TPoint3>
double ImplicitDigitalEllipse3< TPoint3 >::myC

Definition at line 88 of file testLocalEstimatorFromFunctorAdapter.cpp.

Referenced by ImplicitDigitalEllipse3(), and operator()().


The documentation for this struct was generated from the following files: