Collision computation
Determine if there are interferences between parts from an assembly.
This functionality allows to determine if there are interferences (clashes) between parts from an assembly, and if a specified clearance distance is verified between parts (clearance analysis).
- One group: the analysis is processed on all the selected parts that are included in the group.
- Two groups: the analysis is processed between the two groups, but not inside the groups.
Depending on the nature of the analysis, one or two groups can be defined:
Parameters
pGroup1: define the first group of
A3DTransfoRepresentationItemData.pGroup2: define a optional second group of
A3DTransfoRepresentationItemData.pParameterData: set parameters for collision computation.
uCollisionResultsSize: Number of
A3DCollisionResultDatain pCollisionResults.pCollisionResults: Array of
A3DCollisionResultData, containing collision computation result. pCollisionResults is automatically allocated by A3DCollisionCompute.
Returns
A3D_SUCCESSon success, or an error code on failure
Structures
A3DTransfoRepresentationItemDataA3DCollisionGroupDataA3DCollisionParameterDataA3DCollisionResultData
Functions