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


viviana andrea agudelo moreno's picture


I obtained this code from this forum, but it doesn't work because I don't know what include or includes I have to use...

Handle_AIS_InteractiveObject current_ais_item = it.Value ();
assert (Current->IsKind
Handle_AIS_Shape current_ais_shape = Handle_AIS_Shape::DownCast (Current);
assert (not current_ais_shape.IsNull ());//not_null
const TopoDS_Shape& current_topo_shape = current_ais_shape->Shape();

in the compilation error appears "assert" as undeclared. What I have to inlcude?


Rob Bachrach's picture

assert is a standard C function found in assert.h

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.