cgma
|
Defines an interface for GeometryFeatureEngine. More...
#include <GeometryFeatureEngine.hpp>
Public Types | |
enum | FeatureType { FEATURE_UNDEFINED, FEATURE_HOLE, FEATURE_ROUND, FEATURE_CHAMFER, FEATURE_SLOT, FEATURE_CUT, FEATURE_IMPRINT } |
Public Member Functions | |
virtual | ~GeometryFeatureEngine () |
virtual destructor | |
virtual CubitBoolean | is_feature_engine (const TopologyBridge *)=0 |
returns CUBIT_TRUE if the entity belongs to this feature engine | |
virtual CubitBoolean | is_feature_engine (const TopologyEntity *)=0 |
returns CUBIT_TRUE if the entity belongs to this feature engine | |
virtual CubitStatus | get_related_by_feature (GeometryEntity *entity_in, DLIList< GeometryEntity * > &list_out)=0 |
Gets the entities related to entity_in by feature. | |
virtual DLIList< FeatureType > | available_feature_types (GeometryEntity *entity)=0 |
Gets the features available on the entity. | |
virtual GeometryFeatureEngine::FeatureType | feature_type (GeometryEntity *entity)=0 |
Defines an interface for GeometryFeatureEngine.
Definition at line 17 of file GeometryFeatureEngine.hpp.
FEATURE_UNDEFINED | |
FEATURE_HOLE | |
FEATURE_ROUND | |
FEATURE_CHAMFER | |
FEATURE_SLOT | |
FEATURE_CUT | |
FEATURE_IMPRINT |
Definition at line 21 of file GeometryFeatureEngine.hpp.
virtual GeometryFeatureEngine::~GeometryFeatureEngine | ( | ) | [inline, virtual] |
virtual DLIList<FeatureType> GeometryFeatureEngine::available_feature_types | ( | GeometryEntity * | entity | ) | [pure virtual] |
Gets the features available on the entity.
In other words, the feature types available from the geometry kernel
virtual GeometryFeatureEngine::FeatureType GeometryFeatureEngine::feature_type | ( | GeometryEntity * | entity | ) | [pure virtual] |
virtual CubitStatus GeometryFeatureEngine::get_related_by_feature | ( | GeometryEntity * | entity_in, |
DLIList< GeometryEntity * > & | list_out | ||
) | [pure virtual] |
Gets the entities related to entity_in by feature.
For example, passing in a surface created by a round would get all of the surfaces related to that round
virtual CubitBoolean GeometryFeatureEngine::is_feature_engine | ( | const TopologyBridge * | ) | [pure virtual] |
returns CUBIT_TRUE if the entity belongs to this feature engine
virtual CubitBoolean GeometryFeatureEngine::is_feature_engine | ( | const TopologyEntity * | ) | [pure virtual] |
returns CUBIT_TRUE if the entity belongs to this feature engine