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

Clearing Prs3d_Presentation

Rakesh Lingam's picture

I wanted to display intersection of two curves. I used Handle(Prs3d_Presentation) numbering them for recognizing. In the next operation I want to clear these points.
The points are cleared or AIS_InteractiveContext is cleared by the point numbers or Prs3d_Presentation is not cleared. How to do this?

I have used the following code to display text

Handle(Prs3d_Presentation) myPresentation= new Prs3d_Presentation(myAISContext->CurrentViewer()->Viewer(),Standard_True);
Handle(Prs3d_TextAspect) aTextAspect= new Prs3d_TextAspect();
Prs3d_Text::Draw(myPresentation,aTextAspect,aTCoText, Point);

and tried


Thanks and Regards
Rakesh Lingam