A3DSDKTools.h File Reference

Header of A3DSDK. Tool section. More...

Data Structures

struct  A3DCopyAndAdaptBrepModelData
 Copy and convert to NURBS parameter. More...
 
struct  A3DCopyAndAdaptBrepModelErrorData
 Copy and convert to NURBS error result. More...
 
struct  A3DPhysicalPropertiesData
 Physical property settings. More...
 
struct  A3DTopoItemOwner
 Structure is a linked list for storing topology items owners. More...
 

Functions

A3DStatus A3DAdaptAndReplaceAllBrepInModelFile (A3DAsmModelFile *pModelFile, const A3DCopyAndAdaptBrepModelData *psSetting)
 Entity Convert to NURBS facility. More...
 
A3DStatus A3DAdaptAndReplaceAllBrepInModelFileAdvanced (A3DAsmModelFile *p, const A3DCopyAndAdaptBrepModelData *psSetting, A3DUns32 *puiNbErrors, A3DCopyAndAdaptBrepModelErrorData **pErrors)
 Entity Convert to NURBS facility. More...
 
A3DStatus A3DComputeFaceArea (const A3DTopoFace *pFace, const A3DTopoContext *pBrepDataTopoContext, A3DDouble *pArea)
 Function to compute the surface of the current A3DTopoFace. The current TopoContext is needed in order to get the correct current scale. More...
 
A3DStatus A3DComputeModelFilePhysicalProperties (const A3DAsmModelFile *p, A3DPhysicalPropertiesData *psPhysicalProperties)
 Function to compute the physical properties (surface area, volume and gravity center, and since 11.2 the surfacic gravity center and the surfacic and volumic inertia matrix) of a modelfile, typically an assembly. Data is returned in the modelfile unit, without density. More...
 
A3DStatus A3DComputePhysicalProperties (const A3DRiBrepModel *p, const A3DVector3dData *psScale, A3DPhysicalPropertiesData *psPhysicalPropertiesData)
 Function to compute the physical properties (surface area, volume and gravity center, and since 11.2 the surfacic gravity center and the surfacic and volumic inertia matrix) of a BrepModel. More...
 
A3DStatus A3DComputePolyBrepPhysicalProperties (const A3DRiPolyBrepModel *p, const A3DVector3dData *psScale, A3DPhysicalPropertiesData *psPhysicalPropertiesData)
 Function to compute the physical properties (surface area, volume and gravity center, and since 11.2 the surfacic gravity center and the surfacic and volumic inertia matrix) of a PolyBrepModel. An optional scale, psScale, can be used. It can be either uniform or not. Physical properties will be computed after having scaled the geometrical data in the A3DRiPolyBrepModel. More...
 
A3DStatus A3DCopyAndAdaptBrepModel (const A3DEntity *p, const A3DCopyAndAdaptBrepModelData *psSetting, A3DEntity **const pp)
 Copy and adapt B-rep parameters. More...
 
A3DStatus A3DCopyAndAdaptBrepModelAdvanced (const A3DEntity *p, const A3DCopyAndAdaptBrepModelData *psSetting, A3DEntity **const pp, A3DUns32 *puiNbErrors, A3DInt32 **paiErrors)
 Copy and adapt B-rep parameters. More...
 
A3DStatus A3DEntityDelete (A3DEntity *pEntity)
 Recursively deletes the entity and its child entities. More...
 
A3DStatus A3DEntityGetPDFNodeIdFromRead (const A3DEntity *pEntity, const A3DEntity *pEntityFather, const A3DRWParamsPrcReadHelper *pA3DRWParamsPrcReadHelper, A3DUTF8Char **pcUTF8Name)
 Gets the PDF node unique IDs for the entities. More...
 
A3DStatus A3DEntityGetPDFNodeIdFromWrite (const A3DEntity *pEntity, const A3DEntity *pEntityFather, const A3DRWParamsPrcWriteHelper *pA3DRWParamsPrcWriteHelper, A3DUTF8Char **pcUTF8Name)
 Gets the PDF node unique IDs for the entities. More...
 
A3DStatus A3DSimplifyModelFileCurveAndSurfaceAsAnalytic (A3DAsmModelFile *p, double dTol)
 Function to traverse the entire modelfile and simplify all curves and surfaces to analytics if possible, according to a certain tolerance. More...
 
A3DStatus A3DSimplifyModelFileWithAnalytics (A3DAsmModelFile *p, A3DDouble dTol, A3DUns32 uNbRecognizedType, A3DEEntityType const *pOptRecognizedType)
 Function to traverse the entire modelfile and simplify all curves and surfaces to analytics if possible, according to a certain tolerance.

Recognized surface types are:
Conic Surface, Cylindrical Surface, Plane Surface, Spherical Surface, Toric Surface

Recognized curve types are:
Linear Curve, Circular Curve

If uNbRecognizedType and pOptRecognizedType are defined, A3DSimplifyModelFileWithAnalytics recognizes only the given types. More...
 
A3DStatus A3DTopoItemOwnersGet (A3DTopoItemOwnersManager *pTopoItemOwnersManager, const A3DTopoItem *pTopoItem, A3DTopoItemOwner **ppTopoItemOwner)
 Gets owners of topology item. More...
 
A3DStatus A3DTopoItemOwnersManagerGet (const A3DRiRepresentationItem *pBrepOwner, A3DTopoItemOwnersManager **ppTopoItemOwnersManager)
 Structure for storing topology items owners. More...
 

Detailed Description

Header of A3DSDK. Tool section.

Author
Tech Soft 3D
Version
22.0
Date
December 2021
Copyright (c) 2010 - 2022 by Tech Soft 3D, Inc. All rights reserved.