Modules

 Type and Specification
 
 
 Data
 

Data Structures

struct  A3DFRMFeatureData
 Structure for all feature information: type, data, connection, access to sub features. More...
 
struct  A3DFRMFeatureGeomEntitiesData
 data structure for representation items extracted from features More...
 

Functions

A3DStatus A3DFRMFeatureGeomEntitiesExtract (const A3DFRMFeature *pFeature, A3DFRMFeatureGeomEntitiesData *pFeatureGeomEntities)
 Create on the fly geometries related to the feature. More...
 
A3DStatus A3DFRMFeatureGet (const A3DFRMFeature *pFeature, A3DFRMFeatureData *pData)
 

Detailed Description

The feature is a structure that 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. Depending of their Family type what they embed different types of sub-features, group under feature parameters. Also the pair m_eFamily and m_uiType allows to figure out what represents data underneath. The family type specifies the way to interpret the type. The type is an integer that need to be interpreted as a value in an enum specify by the family type.

The following table shows the correspondence between the family type and the associated enum; and the expecetd data defined below a feature with this type of feature.

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, ...)
Feature Definition EA3DFRMFeatureDefinitionType Store an information specific to a cad feature (hole, patter, extrude, definition)
Root EA3DFRMRoot Corresponds to cad node

Function Documentation

◆ A3DFRMFeatureGet()

A3DStatus A3DFRMFeatureGet ( const A3DFRMFeature pFeature,
A3DFRMFeatureData pData 
)

brief Populates the A3DFRMFeatureData structure

Version
10.2
Parameters
pFeaturefeature pointer
pDatafeature data
Returns
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_ERROR
A3D_SUCCESS.

◆ A3DFRMFeatureGeomEntitiesExtract()

A3DStatus A3DFRMFeatureGeomEntitiesExtract ( const A3DFRMFeature pFeature,
A3DFRMFeatureGeomEntitiesData pFeatureGeomEntities 
)

Create on the fly geometries related to the feature.

Version
12.2
Parameters
pFeaturefeature pointer
pFeatureGeomEntitiesstruct containing the array of extracted geometries
Returns
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_INITIALIZE_NOT_CALLED
A3D_ERROR
A3D_SUCCESS.