SHAPER  9.12.0
GeomAlgoAPI_SolidClassifier Class Reference

Classify shape according to the given solid. More...

Public Types

typedef int State
 

Public Member Functions

GEOMALGOAPI_EXPORT GeomAlgoAPI_SolidClassifier (const std::shared_ptr< GeomAPI_Solid > theSolid, const std::shared_ptr< GeomAPI_Shape > theShape, const double theTolerance=1.e-7)
 Perform classification of the shape according to the solid. More...
 
State state () const
 

Static Public Attributes

static const State State_UNKNOWN = 0x0
 
static const State State_IN = 0x1
 
static const State State_ON = 0x2
 
static const State State_OUT = 0x4
 
static const State State_ALL = State_IN & State_ON & State_OUT
 

Detailed Description

Classify shape according to the given solid.

Constructor & Destructor Documentation

◆ GeomAlgoAPI_SolidClassifier()

GeomAlgoAPI_SolidClassifier::GeomAlgoAPI_SolidClassifier ( const std::shared_ptr< GeomAPI_Solid theSolid,
const std::shared_ptr< GeomAPI_Shape theShape,
const double  theTolerance = 1.e-7 
)

Perform classification of the shape according to the solid.

Parameters
[in]theSolidthe base solid
[in]theShapethe shape to classify
[in]theTolerancecomparison tolrence

Member Function Documentation

◆ state()

State GeomAlgoAPI_SolidClassifier::state ( ) const
inline
Returns
Classification result.