salomemed
6.5.0

Class representing a circular order of a set of points around their barycenter. More...
Public Types  
enum  CoordType { XY, XZ, YZ } 
Enumeration of different planes to project on when calculating order. More...  
Public Member Functions  
ProjectedCentralCircularSortOrder (const double *barycenter, const CoordType type)  
Constructor.  
bool  operator() (const double *pt1, const double *pt2) 
Comparison operator.  
Private Attributes  
const int  _aIdx 
index corresponding to first coordinate of plane on which points are projected  
const int  _bIdx 
index corresponding to second coordinate of plane on which points are projected  
const double  _a 
value of first projected coordinate of the barycenter  
const double  _b 
value of second projected coordinate of the barycenter 
Class representing a circular order of a set of points around their barycenter.
It is used with the STL sort() algorithm to sort the point of the two polygons
Definition at line 40 of file TransformedTriangle.cxx.
Enumeration of different planes to project on when calculating order.
Definition at line 45 of file TransformedTriangle.cxx.
INTERP_KERNEL::ProjectedCentralCircularSortOrder::ProjectedCentralCircularSortOrder  (  const double *  barycenter, 
const CoordType  type  
)  [inline] 
Constructor.
barycenter  double[3] containing the barycenter of the points to be compared 
type  plane to project on when comparing. The comparison will not work if all the points are in a plane perpendicular to the plane being projected on 
Definition at line 54 of file TransformedTriangle.cxx.
bool INTERP_KERNEL::ProjectedCentralCircularSortOrder::operator()  (  const double *  pt1, 
const double *  pt2  
)  [inline] 
Comparison operator.
Compares the relative position between two points in their ordering around the barycenter.
pt1  a double[3] representing a point 
pt2  a double[3] representing a point 
Definition at line 71 of file TransformedTriangle.cxx.
const double INTERP_KERNEL::ProjectedCentralCircularSortOrder::_a [private] 
value of first projected coordinate of the barycenter
Definition at line 88 of file TransformedTriangle.cxx.
const int INTERP_KERNEL::ProjectedCentralCircularSortOrder::_aIdx [private] 
index corresponding to first coordinate of plane on which points are projected
Definition at line 82 of file TransformedTriangle.cxx.
const double INTERP_KERNEL::ProjectedCentralCircularSortOrder::_b [private] 
value of second projected coordinate of the barycenter
Definition at line 91 of file TransformedTriangle.cxx.
const int INTERP_KERNEL::ProjectedCentralCircularSortOrder::_bIdx [private] 
index corresponding to second coordinate of plane on which points are projected
Definition at line 85 of file TransformedTriangle.cxx.