Structure for parsing or creating an A3DTopoContext entity. More...

Data Fields

A3DBool m_bHaveScale
 
A3DBool m_bHaveSmallestFaceThickness
 
A3DDouble m_dGranularity
 
A3DDouble m_dScale
 
A3DDouble m_dSmallestThickness
 
A3DDouble m_dTolerance
 
A3DUns8 m_ucBehaviour
 

Detailed Description

Structure for parsing or creating an A3DTopoContext entity.

Version
2.0

The m_ucBehaviour member is an array of bits that uses values from the topology context bitmask definitions (Topology Context Data).

Note
m_dScale is a conversion factor from the unit of the part (which is not mandatory millimeters) to the "unit" of the modeling kernel. In fact, there is NO notion of physical unit at the level of the "TopoContext". The numbers that are stored there do not have a physical significance by themselves. To interpret them, you should take into account the unit of the part and the "TopoContext" context scale. Then, there can be further scale on the product hierarchy that should be taken into account when converting entities while respecting a given accuracy towards original geometry.
See also
A3DTopoContextData, A3DTopoContextGet, A3DTopoContextCreate

Field Documentation

◆ m_ucBehaviour

A3DUns8 A3DTopoContextData::m_ucBehaviour

Array of bits.

◆ m_dGranularity

A3DDouble A3DTopoContextData::m_dGranularity

Minimal size of an edge. This value is non-dimensional.

◆ m_dTolerance

A3DDouble A3DTopoContextData::m_dTolerance

Global base tolerance used in the context for topological elements. This value is non-dimensional.

◆ m_bHaveSmallestFaceThickness

A3DBool A3DTopoContextData::m_bHaveSmallestFaceThickness

True if next member is valid.

◆ m_dSmallestThickness

A3DDouble A3DTopoContextData::m_dSmallestThickness

Smallest thickness for a face. Used in internal loop treatment. Default should be 100 * m_dGranularity.

◆ m_bHaveScale

A3DBool A3DTopoContextData::m_bHaveScale

True if next member is valid.

◆ m_dScale

A3DDouble A3DTopoContextData::m_dScale

Optional scale to interpret the data of the context.