#include <GEOMImpl_ITestOperations.hxx>

Public Member Functions | |
| Standard_EXPORT | GEOMImpl_ITestOperations (GEOM_Engine *theEngine) |
| Standard_EXPORT | ~GEOMImpl_ITestOperations () |
| Standard_EXPORT bool | Tesselate (Handle(GEOM_Object) theShape, double theLinearDeflection, bool theIsRelative, double theAngularDeflection) |
| Build a mesh on (a copy of ) the given shape. 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_ITestOperations::GEOMImpl_ITestOperations | ( | GEOM_Engine * | theEngine | ) |
constructor:
| GEOMImpl_ITestOperations::~GEOMImpl_ITestOperations | ( | ) |
destructor
| bool GEOMImpl_ITestOperations::Tesselate | ( | Handle(GEOM_Object) | theShape, |
| double | theLinearDeflection, | ||
| bool | theIsRelative, | ||
| double | theAngularDeflection | ||
| ) |
This test function is aimed for checking performance of OCCT tesselation algorithm on particlar geometrical shapes.
| theShape | is a source object |
| theLinearDeflection | is a value of deflection coefficient |
| theIsRelative | says if given value of deflection is relative to shape's bounding box |
| theAngularDeflection | is a angular deflection for edges in radians |
true in case of success; otherwise false. References KO, GEOMUtils::MeshShape(), OK, and GEOM_IOperations::SetErrorCode().