cgma
GeometryFeatureEngine Class Reference

Defines an interface for GeometryFeatureEngine. More...

#include <GeometryFeatureEngine.hpp>

List of all members.

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< FeatureTypeavailable_feature_types (GeometryEntity *entity)=0
 Gets the features available on the entity.
virtual
GeometryFeatureEngine::FeatureType 
feature_type (GeometryEntity *entity)=0

Detailed Description

Defines an interface for GeometryFeatureEngine.

Definition at line 17 of file GeometryFeatureEngine.hpp.


Member Enumeration Documentation

Enumerator:
FEATURE_UNDEFINED 
FEATURE_HOLE 
FEATURE_ROUND 
FEATURE_CHAMFER 
FEATURE_SLOT 
FEATURE_CUT 
FEATURE_IMPRINT 

Definition at line 21 of file GeometryFeatureEngine.hpp.


Constructor & Destructor Documentation

virtual GeometryFeatureEngine::~GeometryFeatureEngine ( ) [inline, virtual]

virtual destructor

Definition at line 33 of file GeometryFeatureEngine.hpp.

{}

Member Function Documentation

Gets the features available on the entity.

In other words, the feature types available from the geometry kernel

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

returns CUBIT_TRUE if the entity belongs to this feature engine

returns CUBIT_TRUE if the entity belongs to this feature engine


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines