Tue, 06/06/2000 - 13:44
I am looking for tools to calculate TopABS_State : TopABS_State_IN TopABS_State_OUT TopABS_State_ON TopABS_State_UNKNOWN
This enumeration class is used to calculate the relative position between a TopoDS_vertex and a TopoDS_Shape.
Wed, 06/07/2000 - 02:53
To compute the state of a point (to get the point from your vertex, use the BRepTools::Pnt method) in a solid (your shape must be TopoDS_Solid type), you can use the BRepClass3d_SolidClassifier class.
For exemple, you can use the:
- BRepClass3d_SolidClassifier::Load method to load the solid
- BRepClass3d_SolidClassifier::Perform to compute the state of the point.
- BRepClass3d_SClassifier::State to get the TopAbs_State (BRepClass3d_SolidClassifier inherits BRepClass3d_SClassifier)
Good computation, regards,