Representation Items Module

Creates and accesses entities that represent Representation items. More...

Modules

 Representation Item Base
 
 Set Representation Item
 
 PointSet Representation Item
 
 Direction Representation Item
 
 Coordinate System Representation Item
 An axis system.
 
 Curve Representation Item
 
 Plane Representation Item
 
 BrepModel Representation Item
 
 PolyBrepModel Representation Item
 
 PolyWire Representation Item
 
 Drawing Block
 Creates and accesses entities that contain graphics entities.
 

Functions

A3DStatus A3DMiscComputeBoundingBox (const A3DEntity *pEntity, A3DDouble const *pOptPlacement, A3DBoundingBoxData *pAABB)
 Compute the Axis Aligned Bounding Box (AABB) of the A3DEntity based on tessellation. Call on A3DAsmModelFile, A3DAsmProductOccurrence, A3DAsmPartDefinition or A3DRiSet return only the box of visible entities. If the computation is done on infinite element only then it'll provides an invalid bounding box with (1.,0.,0.) triplets to min and (-1.,0.,0.) to max coordinates. If there's no tessellation, it returns an invalid bounding box. The unit is the item unit. Call on A3DRiPlane return an invalid box (1.,0.,0.)x(-1.,0.,0.) More...
 

Detailed Description

Creates and accesses entities that represent Representation items.

Representation item entities define individual objects that are present in a CAD file, such as a bolt, wheel, or table leg.

Multiple representation items are contained within a part definition, which scales and positions the representation items within a 3D space. The result is a 3D part that can be assembled into higher level product occurrences, such as an engine part, car, or table.

An A3DRiRepresentationItem contains a local A3DRiCoordinateSystem. The A3DRiCoordinateSystem coordinate system is expressed relative to the parent product occurrence's coordinate system (A3DAsmProductOccurrence).

All representation item entities inherit the A3DRiRepresentationItem base class.

Function Documentation

A3DStatus A3DMiscComputeBoundingBox ( const A3DEntity pEntity,
A3DDouble const *  pOptPlacement,
A3DBoundingBoxData pAABB 
)

Compute the Axis Aligned Bounding Box (AABB) of the A3DEntity based on tessellation. Call on A3DAsmModelFile, A3DAsmProductOccurrence, A3DAsmPartDefinition or A3DRiSet return only the box of visible entities. If the computation is done on infinite element only then it'll provides an invalid bounding box with (1.,0.,0.) triplets to min and (-1.,0.,0.) to max coordinates. If there's no tessellation, it returns an invalid bounding box. The unit is the item unit. Call on A3DRiPlane return an invalid box (1.,0.,0.)x(-1.,0.,0.)

Version
11.1
Parameters
[in]pEntityThe input entity
[in]pOptPlacementFor future use. Must be set to null.
[out]pAABBAxis aligned bounding box of the input entity.
Returns
A3D_INVALID_DATA_STRUCT_SIZE
A3D_INVALID_DATA_STRUCT_NULL
A3D_BASE_BAD_ENTITY_TYPE
A3D_SUCCESS