Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Pre-processed source from OCE; EKOPath has a floating point exception
//simplified with delta, delta.tigris.org - thanks C. Bergström!
class Standard_Transient {};
class Handle_Standard_Transient {
public:
Handle_Standard_Transient(): entity(((Standard_Transient *)0xfefdfefdfefd0000)){}
Handle_Standard_Transient& operator=(const Handle_Standard_Transient& aHandle){}
Standard_Transient *entity;
};
class Interface_EntityCluster : public Standard_Transient {
unsigned int Remove(const int num) ;
int NbLocal() const;
Handle_Standard_Transient theents[4];
};
unsigned int Interface_EntityCluster::Remove(const int num) {
int n = NbLocal();
for (int j = num; j < n; j --)
theents[j-1] = theents[j];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment