Created
June 18, 2011 11:26
-
-
Save mpictor/1033017 to your computer and use it in GitHub Desktop.
Pre-processed source from OCE; EKOPath has a floating point exception
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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