if ( aZoneFace.IsNull() )
return aRes;
- // TODO: classify the point position relative to zone
- // POINT_OUT - point is out of zone face
- // POINT_IN - point is inside of zone face
- // POINT_ON - point is on the edge of zone face
BRepTopAdaptor_FClass2d aClassifier( aZoneFace, Precision::Confusion() );
TopAbs_State State = aClassifier.Perform( gp_Pnt2d(thePoint), Standard_False );
if (State == TopAbs_OUT)
enum PointClassification
{
- POINT_OUT,
- POINT_IN,
- POINT_ON
+ POINT_OUT, ///< point is out of zone face
+ POINT_IN, ///< point is inside of zone face
+ POINT_ON ///< point is on the edge of zone face
};
protected: