#include <GEOMImpl_ICanonicalRecognition.hxx>
Public Member Functions | |
Standard_EXPORT | GEOMImpl_ICanonicalRecognition (GEOM_Engine *theEngine) |
Standard_EXPORT | ~GEOMImpl_ICanonicalRecognition () |
Standard_EXPORT bool | isPlane (const Handle(GEOM_Object)&theShape, double theTolerance, gp_Pln &thePln) |
Check if the shape is planar. More... | |
Standard_EXPORT bool | isSphere (const Handle(GEOM_Object)&theShape, double theTolerance, gp_Sphere &theSphere) |
Check if shape is spherical. More... | |
Standard_EXPORT bool | isCone (const Handle(GEOM_Object)&theShape, double theTolerance, gp_Cone &theCone) |
Check if shape is conical. More... | |
Standard_EXPORT bool | isCylinder (const Handle(GEOM_Object)&theShape, double theTolerance, gp_Cylinder &theCylinder) |
Check if shape is cylinder. More... | |
Standard_EXPORT bool | isLine (const Handle(GEOM_Object)&theEdge, double theTolerance, gp_Lin &theLine) |
Check if edge / wire is line. More... | |
Standard_EXPORT bool | isCircle (const Handle(GEOM_Object)&theEdge, double theTolerance, gp_Circ &theCircle) |
Check if edge / wire is circle. More... | |
Standard_EXPORT bool | isEllipse (const Handle(GEOM_Object)&theEdge, double theTolerance, gp_Elips &theElips) |
Check if edge / wire is ellipse. More... | |
Public Member Functions inherited from GEOM_IOperations | |
Standard_EXPORT | GEOM_IOperations (GEOM_Engine *theEngine) |
Standard_EXPORT | ~GEOM_IOperations () |
Standard_EXPORT void | StartOperation () |
Standard_EXPORT void | FinishOperation () |
Standard_EXPORT void | AbortOperation () |
Standard_EXPORT bool | IsDone () |
Standard_EXPORT void | SetNotDone () |
Standard_EXPORT void | SetErrorCode (const TCollection_AsciiString &theErrorCode) |
Standard_EXPORT char * | GetErrorCode () |
Standard_EXPORT GEOM_Engine * | GetEngine () |
Standard_EXPORT GEOM_Solver * | GetSolver () |
GEOMImpl_ICanonicalRecognition::GEOMImpl_ICanonicalRecognition | ( | GEOM_Engine * | theEngine | ) |
constructor:
GEOMImpl_ICanonicalRecognition::~GEOMImpl_ICanonicalRecognition | ( | ) |
destructor
bool GEOMImpl_ICanonicalRecognition::isCircle | ( | const Handle(GEOM_Object)& | theEdge, |
double | theTolerance, | ||
gp_Circ & | theCircle | ||
) |
References KO, OK, and GEOM_IOperations::SetErrorCode().
bool GEOMImpl_ICanonicalRecognition::isCone | ( | const Handle(GEOM_Object)& | theShape, |
double | theTolerance, | ||
gp_Cone & | theCone | ||
) |
References KO, OK, and GEOM_IOperations::SetErrorCode().
bool GEOMImpl_ICanonicalRecognition::isCylinder | ( | const Handle(GEOM_Object)& | theShape, |
double | theTolerance, | ||
gp_Cylinder & | theCylinder | ||
) |
References KO, OK, and GEOM_IOperations::SetErrorCode().
bool GEOMImpl_ICanonicalRecognition::isEllipse | ( | const Handle(GEOM_Object)& | theEdge, |
double | theTolerance, | ||
gp_Elips & | theElips | ||
) |
References KO, OK, and GEOM_IOperations::SetErrorCode().
bool GEOMImpl_ICanonicalRecognition::isLine | ( | const Handle(GEOM_Object)& | theEdge, |
double | theTolerance, | ||
gp_Lin & | theLine | ||
) |
References KO, OK, and GEOM_IOperations::SetErrorCode().
bool GEOMImpl_ICanonicalRecognition::isPlane | ( | const Handle(GEOM_Object)& | theShape, |
double | theTolerance, | ||
gp_Pln & | thePln | ||
) |
References KO, OK, and GEOM_IOperations::SetErrorCode().
bool GEOMImpl_ICanonicalRecognition::isSphere | ( | const Handle(GEOM_Object)& | theShape, |
double | theTolerance, | ||
gp_Sphere & | theSphere | ||
) |
References KO, OK, and GEOM_IOperations::SetErrorCode().