Structure
Types
Functions
Detailed Description
- group a3d_feature_structure_module
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.
Family
Corresponding enum
Description
Information
Type
Store a value of an enumeration (CAD type, depth type, …)
Double Data,
Integer Data,
String DataEA3DFRMDoubleDataType, EA3DFRMIntegerDataType, EA3DFRMStringDataType
Type of double data (unit, offset, diameter, …)
Value
Type of complex feature (Vector, Depth, …)
Definition
Type of complex feature (Vector, Depth, …)
Definition Hole,
Definition Pattern
Type of complex feature defining a hole (counter sunk, counter bore, …) or pattern
Feature Definition
Store an information specific to a CAD feature (hole, pattern, extrusion, definition)
Root
Corresponds to the CAD node
Function Documentation
-
A3DStatus A3DFRMFeatureGet(const A3DFRMFeature *pFeature, A3DFRMFeatureData *pData)
Populate the A3DFRMFeatureData structure.
- Version
10.2
- Parameters:
pFeature – feature pointer
pData – feature data
- Return values:
A3D_INVALID_DATA_STRUCT_SIZE –
A3D_INVALID_DATA_STRUCT_NULL –
A3D_ERROR –
A3D_SUCCESS –
- Returns:
A3D_SUCCESS
on success, or an error code on failure
-
A3DStatus A3DFRMGeomEntitiesExtract(const A3DFRMFeature *pFeature, A3DFRMGeomEntitiesData *pFeatureGeomEntities)
Create on the fly geometries related to the feature.
- Version
12.2
- Parameters:
pFeature – feature pointer
pFeatureGeomEntities – struct containing the array of extracted geometries
- Return values:
A3D_INVALID_DATA_STRUCT_SIZE –
A3D_INVALID_DATA_STRUCT_NULL –
A3D_INITIALIZE_NOT_CALLED –
A3D_ERROR –
A3D_SUCCESS –
- Returns:
A3D_SUCCESS
on success, or an error code on failure