For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages


Anonymous's picture

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.


Arnaud Magnier's picture

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,


Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.