Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Usage issues / Difference between function AIS_InteractiveContext::Remove(), Erase() and Clear()

Difference between function AIS_InteractiveContext::Remove(), Erase() and Clear()

Difference between function AIS_InteractiveContext::Remove(), Erase() and Clear()
Sven Jungnickel 2004/04/14 19:38
Hi everybody,

in my application I am trying to remove specific interactive objects from my interactive context. Tha AIS_InteractiveContext class offers three different functions Remove(), Erase() and Clear(). Reading the help and cdl files hasn't revealed the differences between those three functions to me. Can anyone explain the differences and which function has to be used at which circumstances?

Thanks in advance and best regards,

Sven
Hans 2012/11/16 04:29
Sorry for pushing this old thread, but i need this answer, too.

I've got a AIS_Shape from a step/igs-file. My Application requires a function to delete (i mean to free the memory) a shape and not only to set is as invisible.

So what is the difference between Remove, Erase and clear?

Which is the right function for deleting?
Which is the right function to set a shape as invisible?

Thanks,

Hans
 
 
Latest news
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map