This class provides operators for analysis surfaces and curves of shapes in order to find out more simple geometry entities, which could replace existing complex (for example, BSpline) geometry objects with given tolerance.
More...
#include <ShapeAnalysis_CanonicalRecognition.hxx>
This class provides operators for analysis surfaces and curves of shapes in order to find out more simple geometry entities, which could replace existing complex (for example, BSpline) geometry objects with given tolerance.
◆ ShapeAnalysis_CanonicalRecognition() [1/2]
| ShapeAnalysis_CanonicalRecognition::ShapeAnalysis_CanonicalRecognition |
( |
| ) |
|
◆ ShapeAnalysis_CanonicalRecognition() [2/2]
| ShapeAnalysis_CanonicalRecognition::ShapeAnalysis_CanonicalRecognition |
( |
const TopoDS_Shape & | theShape | ) |
|
constructor with shape initialisation
◆ ClearStatus()
| void ShapeAnalysis_CanonicalRecognition::ClearStatus |
( |
| ) |
|
|
inline |
Returns status to be equal 0.
◆ GetGap()
| Standard_Real ShapeAnalysis_CanonicalRecognition::GetGap |
( |
| ) |
const |
|
inline |
Returns deviation between input geometry entity and analytical entity.
◆ GetShape()
| const TopoDS_Shape & ShapeAnalysis_CanonicalRecognition::GetShape |
( |
| ) |
const |
|
inline |
◆ GetStatus()
Returns status of operation. Current meaning of possible values of status: -1 - algorithm is not initalazed by shape 0 - no errors 1 - error during any operation (usually - because of wrong input data) Any operation (calling any methods like IsPlane(...), ...) can be performed when current staue is equal 0. If after any operation status != 0, it is necessary to set it 0 by method ClearStatus() before calling other operation.
◆ IsCircle()
Returns true if the underlined curve can be represent by circle with tolerance theTol and sets in theCirc the result circle.
◆ IsCone()
Returns true if the underlined surface can be represent by conical one with tolerance theTol and sets in theCone the result conical surface.
◆ IsCylinder()
Returns true if the underlined surface can be represent by cylindrical one with tolerance theTol and sets in theCyl the result cylinrical surface.
◆ IsEllipse()
Returns true if the underlined curve can be represent by ellipse with tolerance theTol and sets in theCirc the result ellipse.
◆ IsLine()
Returns true if the underlined curve can be represent by line with tolerance theTol and sets in theLin the result line.
◆ IsPlane()
Returns true if the underlined surface can be represent by plane with tolerance theTol and sets in thePln the result plane.
◆ IsSphere()
Returns true if the underlined surface can be represent by spherical one with tolerance theTol and sets in theSphere the result spherical surface.
◆ SetShape()
| void ShapeAnalysis_CanonicalRecognition::SetShape |
( |
const TopoDS_Shape & | theShape | ) |
|
The documentation for this class was generated from the following file: