Structure
The feature structure allows to store information with various levels of complexity.
The hierarchy structures the data from a simple double/integer storage to a CAD feature information. It contains different types of sub-features grouped under feature parameters, depending of its family type. The family type (m_eFamily) specifies the way to interpret the type (m_uiType) as an enumeration value.
The following table shows the correspondence between the family type and the associated enum; and the expected data structure defined below.
Feature type
Family | Corresponding enum | Description
Information | |
Type |
EA3DFRMEnumDataType| Store a value of an enumeration (CAD type, depth type, …)Double Data, Integer Data, String Data |
EA3DFRMDoubleDataType,EA3DFRMIntegerDataType,EA3DFRMStringDataType| Type of double data (unit, offset, diameter, …)Value |
EA3DFRMValueType| Type of complex feature (Vector, Depth, …)Definition |
EA3DFRMDefinitionType| Type of complex feature (Vector, Depth, …)Definition Hole, Definition Pattern |
EA3DFRMDefinitionHoleType,EA3DFRMDefinitionPatternType| Type of complex feature defining a hole (counter sunk, counter bore, …) or patternFeature Definition |
EA3DFRMFeatureDefinitionType| Store an information specific to a CAD feature (hole, pattern, extrusion, definition)Root |
EA3DFRMRoot| Corresponds to the CAD node
Parameters
pFeature: feature pointer
pData: feature data
Returns
A3D_SUCCESSon success, or an error code on failure
Topics
Structures
Functions