Version: 9.12.0
GEOMImpl_ITestOperations Class Reference

#include <GEOMImpl_ITestOperations.hxx>

Inheritance diagram for GEOMImpl_ITestOperations:
Inheritance graph

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_EngineGetEngine ()
Standard_EXPORT GEOM_SolverGetSolver ()

Constructor & Destructor Documentation

◆ GEOMImpl_ITestOperations()

GEOMImpl_ITestOperations::GEOMImpl_ITestOperations ( GEOM_Engine theEngine)


◆ ~GEOMImpl_ITestOperations()

GEOMImpl_ITestOperations::~GEOMImpl_ITestOperations ( )


Member Function Documentation

◆ Tesselate()

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.

theShapeis a source object
theLinearDeflectionis a value of deflection coefficient
theIsRelativesays if given value of deflection is relative to shape's bounding box
theAngularDeflectionis a angular deflection for edges in radians
true in case of success; otherwise false.

References KO, MAX3, OK, and GEOM_IOperations::SetErrorCode().

The documentation for this class was generated from the following files: