A3DSDKMisc.h File Reference
Header file for tools used with structure and geometry. More...
Data Structures | |
struct | A3DMiscCartesianTransformationData |
Structure for defining an A3DMiscCartesianTransformation entity. More... | |
struct | A3DMiscEntityReferenceData |
Structure that identifies the referenced entity and that provides a new coordinate system. More... | |
struct | A3DMiscGeneralTransformationData |
Structure that specifies a 4x4 matrix for use in the A3DMiscGeneralTransformation entity. More... | |
struct | A3DMiscMaterialAnisotropicData |
Anisotropic physical properties. More... | |
struct | A3DMiscMaterialFiberData |
Fiber physical properties. More... | |
struct | A3DMiscMaterialHoneyCombData |
HoneyComb physical properties. More... | |
struct | A3DMiscMaterialIsotropicData |
Isotropic physical properties. More... | |
struct | A3DMiscMaterialOrthotropic2DData |
Orthotropic2D physical properties. More... | |
struct | A3DMiscMaterialOrthotropic3DData |
Orthotropic3D physical properties. More... | |
struct | A3DMiscMaterialPropertiesData |
Material properties, like density. More... | |
struct | A3DMiscPhysicMaterialData |
Physical properties. contains a union of the differents . More... | |
struct | A3DMiscReferenceOnCsysItemData |
Reference on coordinate system item. More... | |
struct | A3DMiscReferenceOnTessData |
Structure that identifies the referenced tesselation entity and that specifies globally-defined attributes. More... | |
struct | A3DMiscReferenceOnTopologyData |
Structure that identifies the referenced topology entity and that specifies globally-defined attributes. More... | |
Functions | |
A3DStatus | A3DMiscCartesianTransformationCreate (const A3DMiscCartesianTransformationData *pData, A3DMiscCartesianTransformation **ppCartesianTransformation3d) |
Creates an A3DMiscCartesianTransformation from an A3DMiscCartesianTransformationData structure. More... | |
A3DStatus | A3DMiscCartesianTransformationGet (const A3DMiscCartesianTransformation *pCartesianTransformation3d, A3DMiscCartesianTransformationData *pData) |
Populates the A3DMiscCartesianTransformationData structure. More... | |
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... | |
A3DStatus | A3DMiscEntityReferenceCreate (const A3DMiscEntityReferenceData *pData, A3DMiscEntityReference **ppEntityReference) |
Creates an A3DMiscEntityReference from an A3DMiscEntityReferenceData structure. More... | |
A3DStatus | A3DMiscEntityReferenceGet (const A3DMiscEntityReference *pEntityReference, A3DMiscEntityReferenceData *pData) |
Populates the A3DMiscEntityReferenceData structure. More... | |
A3DStatus | A3DMiscEntityReferenceSet (A3DMiscEntityReference *pEntityReference, const A3DMiscEntityReferenceData *pData) |
Function to set the entity reference from A3DMiscEntityReferenceData structure in a previously created object. More... | |
A3DStatus | A3DMiscGeneralTransformationCreate (const A3DMiscGeneralTransformationData *pData, A3DMiscGeneralTransformation **ppGeneralTransformation3d) |
Creates an A3DMiscGeneralTransformation from an A3DMiscGeneralTransformationData structure. More... | |
A3DStatus | A3DMiscGeneralTransformationGet (const A3DMiscGeneralTransformation *pGeneralTransformation3d, A3DMiscGeneralTransformationData *pData) |
Populates the A3DMiscGeneralTransformationData structure. More... | |
A3DStatus | A3DMiscGetBoundingBox (const A3DEntity *pEntity, A3DBoundingBoxData *pAABB) |
Get the Axis Aligned Bounding Box (AABB) of the A3DEntity read from the file \ Can call it on product occurrences, part, and representation item \ If there is no Bounding Box set, will set 0,0,0 triplets to min and max coordinates. \ For computing a bounding box, please use A3DMiscComputeBoundingBox. More... | |
A3DUTF8Char * | A3DMiscGetEntityTypeMsg (A3DEEntityType eType) |
Returns the name of the entity type. More... | |
const A3DUTF8Char * | A3DMiscGetErrorMsg (A3DStatus) |
Returns the text description of an error code. More... | |
A3DStatus | A3DMiscGetMaterialProperties (const A3DEntity *pEntity, A3DMiscMaterialPropertiesData *pMaterialPropertiesData) |
Get density in kg/m3 read from the file. Equal to -1.0 if not set \ Can call it on product occurrences, part, and representation item. More... | |
A3DStatus | A3DMiscReferenceOnCsysItemCreate (const A3DMiscReferenceOnCsysItemData *pData, A3DMiscReferenceOnCsysItem **ppReferenceOnCSYSItem) |
Creates an A3DMiscReferenceOnCsysItem from an A3DMiscReferenceOnCsysItemData structure. More... | |
A3DStatus | A3DMiscReferenceOnCsysItemGet (const A3DMiscReferenceOnCsysItem *pReferenceOnCSYSItem, A3DMiscReferenceOnCsysItemData *pData) |
Populates the A3DMiscReferenceOnCsysItemData structure. More... | |
A3DStatus | A3DMiscReferenceOnTessCreate (const A3DMiscReferenceOnTessData *pData, A3DMiscReferenceOnTess **ppReferenceOnTess) |
Creates an A3DMiscReferenceOnTess from an A3DMiscReferenceOnTessData structure. More... | |
A3DStatus | A3DMiscReferenceOnTessGet (const A3DMiscReferenceOnTess *pReferenceOnTess, A3DMiscReferenceOnTessData *pData) |
Populates the A3DMiscReferenceOnTessData structure for PolyBrepModel. More... | |
A3DStatus | A3DMiscReferenceOnTopologyCreate (const A3DMiscReferenceOnTopologyData *pData, A3DMiscReferenceOnTopology **ppReferenceOnTopoItem) |
Creates an A3DMiscReferenceOnTopology from an A3DMiscReferenceOnTopologyData structure. More... | |
A3DStatus | A3DMiscReferenceOnTopologyGet (const A3DMiscReferenceOnTopology *pReferenceOnTopoItem, A3DMiscReferenceOnTopologyData *pData) |
Populates the A3DMiscReferenceOnTopologyData structure. More... | |
A3DStatus | A3DMiscUnicodeToUTF8 (const A3DUTF8Char *pcInputBuffer, A3DUTF8Char acOutputBuffer[]) |
Converts UTF-16 strings to an array UTF-8 encoded characters on Windows. More... | |
A3DStatus | A3DMiscUTF16ToUTF8 (const A3DUniChar *pcInputBuffer, A3DUTF8Char acOutputBuffer[]) |
Converts a UTF-16 string to a UTF-8 string on Windows. More... | |
A3DStatus | A3DMiscUTF8ToUnicode (const A3DUTF8Char *pcInputBuffer, A3DUTF8Char acOutputBuffer[]) |
Converts UTF-8 encoded characters to UTF-16 strings on Windows. More... | |
A3DStatus | A3DMiscUTF8ToUTF16 (const A3DUTF8Char *pcInputBuffer, A3DUniChar acOutputBuffer[]) |
Converts a UTF-8 string to a UTF-16 string on Windows. More... | |
Detailed Description
Header file for tools used with structure and geometry.
- Version
- 11.1
- Date
- January 2018
- Copyright (c) 2010 - 2018 by Tech Soft 3D, Inc. All rights reserved.
Function Documentation
A3DStatus A3DMiscReferenceOnTessCreate | ( | const A3DMiscReferenceOnTessData * | pData, |
A3DMiscReferenceOnTess ** | ppReferenceOnTess | ||
) |
Creates an A3DMiscReferenceOnTess from an A3DMiscReferenceOnTessData structure.
- Version
- 11.0
If m_eTopoItemType is kA3DTypeTessEdge, m_uiSize must be 3 and
- m_puiAdditionalIndexes[0] is the face index in the m_pPolyBrepModel
- m_puiAdditionalIndexes[1] is the loop index in the face
- m_puiAdditionalIndexes[2] is the edge index in the loop
If m_eTopoItemType is kA3DTypeTessVertex, m_uiSize must be 4 and
- m_puiAdditionalIndexes[0] is the face index in the m_pPolyBrepModel
- m_puiAdditionalIndexes[1] is the loop index in the face
- m_puiAdditionalIndexes[2] is the edge index in the loop
- m_puiAdditionalIndexes[3] is the vertex index in the edge