MeshLink
Computational geometry access
|
Go to the source code of this file.
Functions | |
MLSTATUS | ML_checkDataSizes (size_t size_of_MLINT, size_t size_of_MLINT32, size_t size_of_MLFLOAT, size_t size_of_MLREAL) |
Checks MeshLink Caller data sizes against MeshLink library. More... | |
MLSTATUS | ML_createMeshAssociativityObj (MeshAssociativityObj *meshAssocObj) |
Allocates a new MeshAssociativity Object. More... | |
void | ML_freeMeshAssociativityObj (MeshAssociativityObj *meshAssocObj) |
Frees a MeshAssociativity Object. More... | |
MLSTATUS | ML_parserValidateFile (MeshLinkParserObj parseObj, const char *meshlinkFilename, const char *schemaFilename) |
Validate a MeshLink XML file against the schema. More... | |
MLSTATUS | ML_parserReadMeshLinkFile (MeshLinkParserObj parseObj, const char *meshlinkFilename, MeshAssociativityObj meshAssocObj) |
Read a MeshLink XML file into a MeshAssociativity object. More... | |
MLSTATUS | ML_parserGetMeshLinkAttributes (MeshLinkParserObj parseObj, char *xmlns, MLINT xmlnsBufLen, char *xmlns_xsi, MLINT xmlns_xsiBufLen, char *schemaLocation, MLINT schemaBufLen) |
Get MeshLink schema attributes. More... | |
MLSTATUS | ML_writerWriteMeshLinkFile (MeshLinkWriterObj writeObj, MeshAssociativityObj meshAssocObj, const char *meshlinkFilename, const char *xmlns, const char *xmlns_xsi, const char *schemaLocation) |
Write MeshAssociativity data to XML file. More... | |
MLSTATUS | ML_getMeshModelByName (MeshAssociativityObj meshAssocObj, const char *modelname, MeshModelObj *meshModel) |
Get MeshModel object by name. More... | |
MLSTATUS | ML_getMeshSheetByName (MeshAssociativityObj meshAssocObj, const char *sheetname, MeshModelObj *meshModel, MeshSheetObj *meshSheet) |
Get MeshSheet object by name. More... | |
MLSTATUS | ML_getMeshStringByName (MeshAssociativityObj meshAssocObj, const char *stringname, MeshModelObj *meshModel, MeshStringObj *meshString) |
Get MeshString object by name. More... | |
MLSTATUS | ML_addGeometryKernel (MeshAssociativityObj meshAssocObj, GeometryKernelObj geomKernelObj) |
Add GeometryKernel object to MeshAssociativity. More... | |
MLSTATUS | ML_removeGeometryKernel (MeshAssociativityObj meshAssocObj, GeometryKernelObj geomKernelObj) |
Remove GeometryKernel object from MeshAssociativity. More... | |
MLSTATUS | ML_setActiveGeometryKernelByName (MeshAssociativityObj meshAssocObj, const char *kernelname) |
Set MeshAssociativity active Geometry Kernel by name. More... | |
MLSTATUS | ML_getActiveGeometryKernel (MeshAssociativityObj meshAssocObj, GeometryKernelObj *geomKernelObj) |
Get MeshAssociativity active Geometry Kernel object. More... | |
MLINT | ML_getNumGeometryFiles (MeshAssociativityObj meshAssocObj) |
Get number of geometry files referenced by the MeshAssociativity. More... | |
MLSTATUS | ML_getGeometryFileObj (MeshAssociativityObj meshAssocObj, MLINT index, MeshLinkFileConstObj *fileObj) |
Get GeometryFile refereneced in MeshAssociativity by index. More... | |
MLSTATUS | ML_getFilename (MeshLinkFileConstObj fileObj, char *filenameBuf, MLINT filenameBufLen) |
Get file name for a generic MeshLinkFile. More... | |
MLSTATUS | ML_setGeomModelSize (GeometryKernelObj geomKernelObj, MLREAL modelSize) |
Set the model size attribute in the GeometryKernel. Model size (extents) is used to define tolerances related to model closure, e.g. same point tolerance. More... | |
MLSTATUS | ML_getGeomModelSize (GeometryKernelObj geomKernelObj, MLREAL *modelSize) |
Get the model size attribute in the GeometryKernel. Model size is used to define tolerances related to model closure, e.g. same point tolerance. More... | |
MLSTATUS | ML_readGeomFile (GeometryKernelObj geomKernelObj, const char *geomFilename) |
Read a GeometryFile into the GeometryKernel. More... | |
MLSTATUS | ML_getFileAttIDs (MeshAssociativityObj meshAssocObj, MeshLinkFileConstObj fileObj, MLINT attIDs[], MLINT sizeAttIDs, MLINT *numAttIDs) |
Get array of attribute IDs for a generic MeshLinkFile. More... | |
MLSTATUS | ML_getAttribute (MeshAssociativityObj meshAssocObj, MLINT attID, char *attNameBuf, MLINT attNameBufLen, char *attValueBuf, MLINT attValueBufLen) |
Get attribute name-value pair by ID. More... | |
MLINT | ML_getNumMeshModels (MeshAssociativityObj meshAssocObj) |
Get number of MeshModels in the MeshAssociativity. More... | |
MLSTATUS | ML_getMeshModels (MeshAssociativityObj meshAssocObj, MeshTopoObj *modelObjs, MLINT sizeModelObj, MLINT *numModelObjs) |
Get array of MeshModels in the MeshAssociativity. More... | |
MLINT | ML_getNumParamVerts (MeshTopoObj meshTopoObj) |
Get number of ParamVertex objects in the MeshTopo. More... | |
MLINT | ML_getNumMeshSheets (MeshModelObj meshModelObj) |
Get number of MeshSheets in the MeshModel. More... | |
MLSTATUS | ML_getMeshSheets (MeshModelObj meshModelObj, MeshSheetObj *sheetObjs, MLINT sizeSheetObj, MLINT *numSheetObjs) |
Get array of MeshSheets in the MeshModel. More... | |
MLSTATUS | ML_getModelMeshSheetByName (MeshModelObj meshModelObj, const char *sheetname, MeshSheetObj *meshSheetObj) |
Get a MeshSheet in the MeshModel by name. More... | |
MLSTATUS | ML_getModelMeshStringByName (MeshModelObj meshModelObj, const char *stringname, MeshStringObj *meshStringObj) |
Get a MeshString in the MeshModel by name. More... | |
MLINT | ML_getNumSheetMeshFaces (MeshSheetObj meshSheetObj) |
Get number of MeshFaces in the MeshSheet. More... | |
MLSTATUS | ML_getSheetMeshFaces (MeshSheetObj meshSheetObj, MeshTopoObj *faceObjs, MLINT sizeFaceObj, MLINT *numFaceObjs) |
Get array of MeshFaces in the MeshSheet. More... | |
MLINT | ML_getNumSheetMeshFaceEdges (MeshSheetObj meshSheetObj) |
Get number of MeshFaceEdges in the MeshSheet. More... | |
MLSTATUS | ML_getSheetMeshFaceEdges (MeshSheetObj meshSheetObj, MeshTopoObj *faceEdgeObjs, MLINT sizeFaceEdgeObj, MLINT *numFaceEdgeObjs) |
Get array of MeshFaceEdges in the MeshSheet. More... | |
MLINT | ML_getNumMeshStrings (MeshModelObj meshModelObj) |
Get number of MeshStrings in the MeshModel. More... | |
MLSTATUS | ML_getMeshStrings (MeshModelObj meshModelObj, MeshTopoObj stringObjs[], MLINT sizeStringObj, MLINT *numStringObjs) |
Get array of MeshStrings in the MeshModel. More... | |
MLINT | ML_getNumStringMeshEdges (MeshSheetObj meshStringObj) |
Get number of MeshEdges in the MeshString. More... | |
MLSTATUS | ML_getStringMeshEdges (MeshSheetObj meshStringObj, MeshTopoObj edgeObjs[], MLINT sizeEdgeObj, MLINT *numEdgeObjs) |
Get array of MeshEdges in the MeshString. More... | |
MLSTATUS | ML_getMeshElementLinkages (MeshAssociativityObj meshAssocObj, MeshElementLinkageObj *linkageObjs, MLINT sizeLinkageObj, MLINT *numLinkageObjs) |
Get array of MeshElementLinkages in the MeshAssociativity database. More... | |
MLINT | ML_getNumMeshElementLinkages (MeshAssociativityObj meshAssocObj) |
Get number of MeshElementLinkages in the MeshAssociativity database. More... | |
MLSTATUS | ML_getTransform (MeshAssociativityObj meshAssocObj, MeshElementLinkageObj linkageObj, MeshLinkTransformConstObj *xformObj) |
Get MeshLinkTransform associated with a MeshElementLinkage. More... | |
MLSTATUS | ML_getMeshElementLinkageInfo (MeshAssociativityObj meshAssocObj, MeshElementLinkageObj linkageObj, char *nameBuf, MLINT nameBufLen, char *sourceEntityRefBuf, MLINT sourceEntityRefBufLen, char *targetEntityRefBuf, MLINT targetEntityRefBufLen, MLINT attIDs[], MLINT sizeAttIDs, MLINT *numAttIDs) |
Get info associated with a MeshElementLinkage. More... | |
MLSTATUS | ML_getMeshLinkTransformInfo (MeshAssociativityObj meshAssocObj, MeshLinkTransformConstObj xformObj, char *nameBuf, MLINT nameBufLen, MLINT attIDs[], MLINT sizeAttIDs, MLINT *numAttIDs) |
Get info associated with a MeshLinkTransform. More... | |
MLSTATUS | ML_getTransformQuaternion (MeshLinkTransformConstObj xformObj, MLREAL quat[4][4]) |
Get the quaternion matrix associated with a MeshLinkTransform. More... | |
MLSTATUS | ML_findLowestTopoPointByInd (MeshModelObj meshModelObj, MLINT pointIndex, MeshPointObj *meshPointObj) |
Find a point index's lowest topological reference. Returns first usage in the order MeshString, MeshSheet, MeshModel. More... | |
MLSTATUS | ML_findHighestTopoPointByInd (MeshModelObj meshModelObj, MLINT pointIndex, MeshPointObj *meshPointObj) |
Find a point index's highest topological reference. Returns first usage in the order MeshModel, MeshSheet, MeshString. More... | |
MLSTATUS | ML_findMeshEdgePointByInd (MeshModelObj meshModelObj, MLINT pointIndex, MeshPointObj *meshPointObj) |
Find a point index reference in a MeshString's MeshEdge. Returns first occurance of index in a MeshString's MeshEdge array. More... | |
MLSTATUS | ML_findMeshFacePointByInd (MeshModelObj meshModelObj, MLINT pointIndex, MeshPointObj *meshPointObj) |
Find a point index reference in a MeshSheet's MeshFace. Returns first occurance of index in a MeshSheet's MeshFace array. More... | |
MLSTATUS | ML_getFaceInds (MeshFaceObj meshFaceObj, MLINT inds[], MLINT *numInds) |
Return array of MeshFace point indices. More... | |
MLSTATUS | ML_getEdgeInds (MeshEdgeObj meshEdgeObj, MLINT inds[], MLINT *numInds) |
Return array of MeshEdge point indices. More... | |
MLSTATUS | ML_findFaceByInds (MeshModelObj meshModelObj, MLINT *indices, MLINT numIndices, MeshFaceObj *meshFaceObj) |
Find a MeshFace in a MeshModel by point indices. Returns first occurance of indices in a MeshSheet's MeshFace. More... | |
MLSTATUS | ML_findLowestTopoEdgeByInds (MeshModelObj meshModelObj, MLINT *indices, MLINT numIndices, MeshEdgeObj *meshEdgeObj) |
Find a MeshEdge's lowest topological reference by point indices. Returns first usage in the order MeshString, MeshSheet, MeshModel. More... | |
MLSTATUS | ML_getParamVerts (MeshTopoConstObj meshTopoObj, ParamVertexConstObj pvObjsArr[], MLINT pvObjsArrLen, MLINT *num_pvObjs) |
Return array of Parametric Vertices for a MeshTopo object. MeshTopo object may be any MeshTopo derived object, e.g. MeshSheet, MeshFace. More... | |
MLSTATUS | ML_getParamVertInfo (ParamVertexConstObj pvObj, char *vrefBuf, MLINT vrefBufLen, MLINT *gref, MLINT *mid, MLVector2D UV) |
Get Parametric Vertex information. More... | |
MLSTATUS | ML_getMeshTopoGref (MeshTopoObj meshTopoObj, MLINT *gref) |
Get GeometryGroup ID for a MeshTopo object. MeshTopo object may be a MeshPoint, MeshEdge, MeshFace object. More... | |
MLSTATUS | ML_getMeshTopoInfo (MeshAssociativityObj meshAssocObj, MeshTopoObj meshTopoObj, char *refBuf, MLINT refBufLen, char *nameBuf, MLINT nameBufLen, MLINT *gref, MLINT *mid, MLINT attIDs[], MLINT sizeAttIDs, MLINT *numAttIDs) |
Get MeshTopo information. MeshTopo object may be a MeshPoint, MeshEdge, MeshFace object. More... | |
MLSTATUS | ML_getMeshPointInfo (MeshAssociativityObj meshAssocObj, MeshPointObj meshPointObj, char *refBuf, MLINT refBufLen, char *nameBuf, MLINT nameBufLen, MLINT *gref, MLINT *mid, MLINT attIDs[], MLINT sizeAttIDs, MLINT *numAttIDs, ParamVertexConstObj *pvObj) |
Get MeshPoint information. More... | |
MLSTATUS | ML_getMeshEdgeInfo (MeshAssociativityObj meshAssocObj, MeshEdgeObj meshEdgeObj, char *refBuf, MLINT refBufLen, char *nameBuf, MLINT nameBufLen, MLINT *gref, MLINT *mid, MLINT attIDs[], MLINT sizeAttIDs, MLINT *numAttIDs, ParamVertexConstObj pvObjs[], MLINT sizepvObjs, MLINT *numpvObjs) |
Get MeshEdge information. More... | |
MLSTATUS | ML_getMeshFaceInfo (MeshAssociativityObj meshAssocObj, MeshEdgeObj meshFaceObj, char *refBuf, MLINT refBufLen, char *nameBuf, MLINT nameBufLen, MLINT *gref, MLINT *mid, MLINT attIDs[], MLINT sizeAttIDs, MLINT *numAttIDs, ParamVertexConstObj pvObjs[], MLINT sizepvObjs, MLINT *numpvObjs) |
Get MeshFace information. More... | |
MLINT | ML_getNumGeometryGroups (MeshAssociativityObj meshAssocObj) |
Get number of GeometryGroups in the MeshAssociativity database. More... | |
MLSTATUS | ML_getGeometryGroupIDs (MeshAssociativityObj meshAssocObj, MLINT IDs[], MLINT sizeIDs, MLINT *numIDs) |
Get array of GeometryGroup IDs in the MeshAssociativity database. More... | |
MLSTATUS | ML_getGeometryGroupByID (MeshAssociativityObj meshAssocObj, MLINT gid, GeometryGroupObj *geomGroupObj) |
Get GeometryGroup by ID. More... | |
MLSTATUS | ML_getEntityNames (GeometryGroupObj geomGroupObj, char *entityNamesBufArr, MLINT entityNamesArrLen, MLINT entityNameBufLen, MLINT *num_entityNames) |
Get array of entity names referenced by GeometryGroup. More... | |
MLSTATUS | ML_evalXYZ (GeometryKernelObj geomKernelObj, MLVector2D UV, const char *entityName, MLVector3D XYZ) |
Evaluate XYZ at parametric coordinates on geometric entity. More... | |
MLSTATUS | ML_evalRadiusOfCurvature (GeometryKernelObj geomKernelObj, MLVector2D UV, const char *entityName, MLREAL *minRradOfCurvature, MLREAL *maxRradOfCurvature) |
Evaluate radius of curvature at parametric coordinates on geometric entity. More... | |
MLSTATUS | ML_evalCurvatureOnCurve (GeometryKernelObj geomKernelObj, MLVector2D UV, const char *entityName, MLVector3D XYZ, MLVector3D Tangent, MLVector3D PrincipalNormal, MLVector3D Binormal, MLREAL *Curvature, MLINT *Linear) |
Evaluate curvature at parametric coordinate on geometric curve. More... | |
MLSTATUS | ML_evalDerivativesOnCurve (GeometryKernelObj geomKernelObj, MLVector2D UV, const char *entityName, MLVector3D XYZ, MLVector3D dXYZdU, MLVector3D d2XYZdU2) |
Evaluate parametric derivatives on curve. More... | |
MLSTATUS | ML_evalCurvatureOnSurface (GeometryKernelObj geomKernelObj, MLVector2D UV, const char *entityName, MLVector3D XYZ, MLVector3D dXYZdU, MLVector3D dXYZdV, MLVector3D d2XYZdU2, MLVector3D d2XYZdUdV, MLVector3D d2XYZdV2, MLVector3D surfaceNormal, MLVector3D principalV, MLREAL *minCurvature, MLREAL *maxCurvature, MLREAL *avg, MLREAL *gauss, MLORIENT *orientation) |
Evaluate curvature at parametric coordinate on geometric surface. More... | |
MLSTATUS | ML_evalSurfaceTolerance (GeometryKernelObj geomKernelObj, const char *entityName, MLREAL *minTolerance, MLREAL *maxTolerance) |
Evaluate model assembly tolerances on geometric surface. If the surface name given matches a model face, then the face's boundary edges and vertices will be querried for the assembly tolerance used to close the model. More... | |
MLSTATUS | ML_createProjectionDataObj (GeometryKernelObj geomKernelObj, ProjectionDataObj *projectionDataObj) |
Allocates a new GeometryKernel-specific ProjectionData Object. A ProjectionData object is used to store inverse evaluation data specific to the GeometryKernel. More... | |
void | ML_freeProjectionDataObj (ProjectionDataObj *projectionDataObj) |
Frees a GeometryKernel-specific ProjectionData Object. More... | |
MLSTATUS | ML_projectPoint (GeometryKernelObj geomKernelObj, GeometryGroupObj geomGroupObj, MLVector3D point, ProjectionDataObj projectionDataObj) |
Closest point projection onto a GeometryGroup. A ProjectionData object is used to store inverse evaluation data specific to the GeometryKernel. More... | |
MLSTATUS | ML_getProjectionInfo (GeometryKernelObj geomKernelObj, ProjectionDataObj projectionDataObj, MLVector3D xyz, MLVector2D UV, char *entityNameBuf, MLINT entityNameBufLen, MLREAL *distance, MLREAL *tolerance) |
Get info from closest point projection onto a GeometryGroup stored in a ProjectionData object specific to the GeometryKernel. More... | |
MLTYPE | ML_getEntityType (GeometryKernelObj geomKernelObj, const char *entityName) |
Get the geomtric type of an entity by name. More... | |
MLSTATUS | ML_entityExists (GeometryKernelObj geomKernelObj, const char *entityName) |
Determine if a geometric entity exists by name. More... | |
MLSTATUS ML_addGeometryKernel | ( | MeshAssociativityObj | meshAssocObj, |
GeometryKernelObj | geomKernelObj | ||
) |
Add GeometryKernel object to MeshAssociativity.
[in,out] | meshAssocObj | MeshAssociativity object |
[in] | geomKernelObj | GeometryKernel object |
MLSTATUS ML_checkDataSizes | ( | size_t | size_of_MLINT, |
size_t | size_of_MLINT32, | ||
size_t | size_of_MLFLOAT, | ||
size_t | size_of_MLREAL | ||
) |
Checks MeshLink Caller data sizes against MeshLink library.
[in] | size_of_MLINT | sizeof(MLINT) |
[in] | size_of_MLINT32 | sizeof(MLINT32) |
[in] | size_of_MLFLOAT | sizeof(MLFLOAT) |
[in] | size_of_MLREAL | sizeof(MLREAL) |
MLSTATUS ML_createMeshAssociativityObj | ( | MeshAssociativityObj * | meshAssocObj | ) |
Allocates a new MeshAssociativity Object.
[in,out] | meshAssocObj | MeshAssociativity object |
MLSTATUS ML_createProjectionDataObj | ( | GeometryKernelObj | geomKernelObj, |
ProjectionDataObj * | projectionDataObj | ||
) |
Allocates a new GeometryKernel-specific ProjectionData Object. A ProjectionData object is used to store inverse evaluation data specific to the GeometryKernel.
[in] | geomKernelObj | GeometryKernel object |
[in,out] | projectionDataObj | ProjectionData object |
MLSTATUS ML_entityExists | ( | GeometryKernelObj | geomKernelObj, |
const char * | entityName | ||
) |
Determine if a geometric entity exists by name.
[in] | geomKernelObj | GeometryKernel object |
[in] | entityName | geometry entity name |
MLSTATUS ML_evalCurvatureOnCurve | ( | GeometryKernelObj | geomKernelObj, |
MLVector2D | UV, | ||
const char * | entityName, | ||
MLVector3D | XYZ, | ||
MLVector3D | Tangent, | ||
MLVector3D | PrincipalNormal, | ||
MLVector3D | Binormal, | ||
MLREAL * | Curvature, | ||
MLINT * | Linear | ||
) |
Evaluate curvature at parametric coordinate on geometric curve.
[in] | geomKernelObj | GeometryKernel object |
[in] | UV | 2D parametric coordinates (2nd coord unused) |
[in] | entityName | entity name |
[out] | XYZ | location on curve |
[out] | Tangent | unit vector of tangent to curve |
[out] | PrincipalNormal | unit vector of principal normal to curve (pointing towards the center of curvature) |
[out] | Binormal | unit vector of binormal to curve (tangent x principal normal) |
[out] | Curvature | curvature in radians per unit length |
[out] | Linear | whether the curve is linear and has no unique normal |
MLSTATUS ML_evalCurvatureOnSurface | ( | GeometryKernelObj | geomKernelObj, |
MLVector2D | UV, | ||
const char * | entityName, | ||
MLVector3D | XYZ, | ||
MLVector3D | dXYZdU, | ||
MLVector3D | dXYZdV, | ||
MLVector3D | d2XYZdU2, | ||
MLVector3D | d2XYZdUdV, | ||
MLVector3D | d2XYZdV2, | ||
MLVector3D | surfaceNormal, | ||
MLVector3D | principalV, | ||
MLREAL * | minCurvature, | ||
MLREAL * | maxCurvature, | ||
MLREAL * | avg, | ||
MLREAL * | gauss, | ||
MLORIENT * | orientation | ||
) |
Evaluate curvature at parametric coordinate on geometric surface.
[in] | geomKernelObj | GeometryKernel object |
[in] | UV | 2D parametric coordinates |
[in] | entityName | entity name |
[out] | XYZ | location on curve |
[out] | dXYZdU | first partial derivative w.r.t. U |
[out] | dXYZdV | first partial derivative w.r.t. V |
[out] | d2XYZdU2 | second partial derivative w.r.t. U |
[out] | d2XYZdUdV | second partial derivative w.r.t. UV |
[out] | d2XYZdV2 | second partial derivative w.r.t. V |
[out] | surfaceNormal | unit vector of surface normal |
[out] | principalV | unit vector tangent to surface where curvature = min |
[out] | minCurvature | minimum curvature in radians per unit length |
[out] | maxCurvature | maximum curvature in radians per unit length |
[out] | avg | average curvature in radians per unit length |
[out] | gauss | Gaussian curvature |
[out] | orientation | orientation of the surface in the model |
MLSTATUS ML_evalDerivativesOnCurve | ( | GeometryKernelObj | geomKernelObj, |
MLVector2D | UV, | ||
const char * | entityName, | ||
MLVector3D | XYZ, | ||
MLVector3D | dXYZdU, | ||
MLVector3D | d2XYZdU2 | ||
) |
Evaluate parametric derivatives on curve.
[in] | geomKernelObj | GeometryKernel object |
[in] | UV | 2D parametric coordinates |
[in] | entityName | entity name |
[out] | XYZ | XYZ location on curve |
[out] | dXYZdU | first derivative |
[out] | d2XYZdU2 | second derivative |
MLSTATUS ML_evalRadiusOfCurvature | ( | GeometryKernelObj | geomKernelObj, |
MLVector2D | UV, | ||
const char * | entityName, | ||
MLREAL * | minRradOfCurvature, | ||
MLREAL * | maxRradOfCurvature | ||
) |
Evaluate radius of curvature at parametric coordinates on geometric entity.
[in] | geomKernelObj | GeometryKernel object |
[in] | UV | 2D parametric coordinates (2nd coord unused for 1D entities) |
[in] | entityName | entity name |
[out] | minRradOfCurvature | minimum radius of curvature |
[out] | maxRradOfCurvature | maximum radius of curvature |
MLSTATUS ML_evalSurfaceTolerance | ( | GeometryKernelObj | geomKernelObj, |
const char * | entityName, | ||
MLREAL * | minTolerance, | ||
MLREAL * | maxTolerance | ||
) |
Evaluate model assembly tolerances on geometric surface. If the surface name given matches a model face, then the face's boundary edges and vertices will be querried for the assembly tolerance used to close the model.
[in] | geomKernelObj | GeometryKernel object |
[in] | entityName | surface name |
[out] | minTolerance | minimum assembly tolerance on boundary |
[out] | maxCurvature | maximum assembly tolerance on boundary |
MLSTATUS ML_evalXYZ | ( | GeometryKernelObj | geomKernelObj, |
MLVector2D | UV, | ||
const char * | entityName, | ||
MLVector3D | XYZ | ||
) |
Evaluate XYZ at parametric coordinates on geometric entity.
[in] | geomKernelObj | GeometryKernel object |
[in] | UV | 2D parametric coordinates (2nd coord unused for 1D entities) |
[in] | entityName | entity name |
[out] | XYZ | location |
MLSTATUS ML_findFaceByInds | ( | MeshModelObj | meshModelObj, |
MLINT * | indices, | ||
MLINT | numIndices, | ||
MeshFaceObj * | meshFaceObj | ||
) |
MLSTATUS ML_findHighestTopoPointByInd | ( | MeshModelObj | meshModelObj, |
MLINT | pointIndex, | ||
MeshPointObj * | meshPointObj | ||
) |
Find a point index's highest topological reference. Returns first usage in the order MeshModel, MeshSheet, MeshString.
[in] | meshModelObj | MeshModel object |
[in] | pointIndex | Point index |
[out] | meshPointObj | MeshPoint object |
MLSTATUS ML_findLowestTopoEdgeByInds | ( | MeshModelObj | meshModelObj, |
MLINT * | indices, | ||
MLINT | numIndices, | ||
MeshEdgeObj * | meshEdgeObj | ||
) |
Find a MeshEdge's lowest topological reference by point indices. Returns first usage in the order MeshString, MeshSheet, MeshModel.
[in] | meshModelObj | MeshModel object |
[in] | indices | Point index array |
[in] | numIndices | Number of point indices |
[out] | meshEdgeObj | MeshEdge object |
MLSTATUS ML_findLowestTopoPointByInd | ( | MeshModelObj | meshModelObj, |
MLINT | pointIndex, | ||
MeshPointObj * | meshPointObj | ||
) |
Find a point index's lowest topological reference. Returns first usage in the order MeshString, MeshSheet, MeshModel.
[in] | meshModelObj | MeshModel object |
[in] | pointIndex | Point index |
[out] | meshPointObj | MeshPoint object |
MLSTATUS ML_findMeshEdgePointByInd | ( | MeshModelObj | meshModelObj, |
MLINT | pointIndex, | ||
MeshPointObj * | meshPointObj | ||
) |
Find a point index reference in a MeshString's MeshEdge. Returns first occurance of index in a MeshString's MeshEdge array.
[in] | meshModelObj | MeshModel object |
[in] | pointIndex | Point index |
[out] | meshPointObj | MeshPoint object |
MLSTATUS ML_findMeshFacePointByInd | ( | MeshModelObj | meshModelObj, |
MLINT | pointIndex, | ||
MeshPointObj * | meshPointObj | ||
) |
void ML_freeMeshAssociativityObj | ( | MeshAssociativityObj * | meshAssocObj | ) |
Frees a MeshAssociativity Object.
[in,out] | meshAssocObj | MeshAssociativity object |
void ML_freeProjectionDataObj | ( | ProjectionDataObj * | projectionDataObj | ) |
Frees a GeometryKernel-specific ProjectionData Object.
[in,out] | projectionDataObj | ProjectionData object |
MLSTATUS ML_getActiveGeometryKernel | ( | MeshAssociativityObj | meshAssocObj, |
GeometryKernelObj * | geomKernelObj | ||
) |
Get MeshAssociativity active Geometry Kernel object.
[in] | meshAssocObj | MeshAssociativity object |
[out] | geomKernelObj | GeometryKernel object |
MLSTATUS ML_getAttribute | ( | MeshAssociativityObj | meshAssocObj, |
MLINT | attID, | ||
char * | attNameBuf, | ||
MLINT | attNameBufLen, | ||
char * | attValueBuf, | ||
MLINT | attValueBufLen | ||
) |
Get attribute name-value pair by ID.
[in] | meshAssocObj | MeshAssociativity object |
[in] | attID | attribute ID |
[in,out] | attNameBuf | attribute name buffer |
[in,out] | attNameBufLen | attribute name buffer length |
[in,out] | attValueBuf | attribute value buffer |
[in,out] | attValueBufLen | attribute value buffer length |
MLSTATUS ML_getEdgeInds | ( | MeshEdgeObj | meshEdgeObj, |
MLINT | inds[], | ||
MLINT * | numInds | ||
) |
MLSTATUS ML_getEntityNames | ( | GeometryGroupObj | geomGroupObj, |
char * | entityNamesBufArr, | ||
MLINT | entityNamesArrLen, | ||
MLINT | entityNameBufLen, | ||
MLINT * | num_entityNames | ||
) |
Get array of entity names referenced by GeometryGroup.
[in] | geomGroupObj | GeometryGroup object |
[in,out] | entityNamesBufArr | entity name buffer array |
[in] | entityNamesArrLen | entity name buffer array size |
[in] | entityNameBufLen | entity name buffer length |
[out] | num_entityNames | entity name count |
MLTYPE ML_getEntityType | ( | GeometryKernelObj | geomKernelObj, |
const char * | entityName | ||
) |
Get the geomtric type of an entity by name.
[in] | geomKernelObj | GeometryKernel object |
[in] | entityName | geoemtry entity name |
MLSTATUS ML_getFaceInds | ( | MeshFaceObj | meshFaceObj, |
MLINT | inds[], | ||
MLINT * | numInds | ||
) |
MLSTATUS ML_getFileAttIDs | ( | MeshAssociativityObj | meshAssocObj, |
MeshLinkFileConstObj | fileObj, | ||
MLINT | attIDs[], | ||
MLINT | sizeAttIDs, | ||
MLINT * | numAttIDs | ||
) |
Get array of attribute IDs for a generic MeshLinkFile.
[in] | meshAssocObj | MeshAssociativity object |
[in] | fileObj | MeshLinkFile object (could be GeometryFile or MeshFile) |
[in,out] | attIDs | attribute ID array |
[in] | sizeAttIDs | attribute ID array size |
[out] | numAttIDs | attribute ID count |
MLSTATUS ML_getFilename | ( | MeshLinkFileConstObj | fileObj, |
char * | filenameBuf, | ||
MLINT | filenameBufLen | ||
) |
Get file name for a generic MeshLinkFile.
[in] | fileObj | MeshLinkFile object (could be GeometryFile or MeshFile) |
[in,out] | filenameBuf | file name buffer |
[in] | filenameBufLen | file name buffer length |
MLSTATUS ML_getGeometryFileObj | ( | MeshAssociativityObj | meshAssocObj, |
MLINT | index, | ||
MeshLinkFileConstObj * | fileObj | ||
) |
Get GeometryFile refereneced in MeshAssociativity by index.
[in] | meshAssocObj | MeshAssociativity object |
[in] | index | geometry file index |
[out] | fileObj | GeometryFile object |
MLSTATUS ML_getGeometryGroupByID | ( | MeshAssociativityObj | meshAssocObj, |
MLINT | gid, | ||
GeometryGroupObj * | geomGroupObj | ||
) |
Get GeometryGroup by ID.
[in] | meshAssocObj | MeshAssociativity object |
[in] | gid | Geometry Group ID |
[out] | geomGroupObj | GeometryGroup object |
MLSTATUS ML_getGeometryGroupIDs | ( | MeshAssociativityObj | meshAssocObj, |
MLINT | IDs[], | ||
MLINT | sizeIDs, | ||
MLINT * | numIDs | ||
) |
Get array of GeometryGroup IDs in the MeshAssociativity database.
[in] | meshAssocObj | MeshAssociativity object |
[in,out] | IDs | GeometryGroup ID array |
[in] | sizeIDs | GeometryGroup ID array size |
[out] | numIDs | GeometryGroup ID count |
MLSTATUS ML_getGeomModelSize | ( | GeometryKernelObj | geomKernelObj, |
MLREAL * | modelSize | ||
) |
Get the model size attribute in the GeometryKernel. Model size is used to define tolerances related to model closure, e.g. same point tolerance.
[in] | geomKernelObj | GeometryKernel object |
[out] | modelSize | model size |
MLSTATUS ML_getMeshEdgeInfo | ( | MeshAssociativityObj | meshAssocObj, |
MeshEdgeObj | meshEdgeObj, | ||
char * | refBuf, | ||
MLINT | refBufLen, | ||
char * | nameBuf, | ||
MLINT | nameBufLen, | ||
MLINT * | gref, | ||
MLINT * | mid, | ||
MLINT | attIDs[], | ||
MLINT | sizeAttIDs, | ||
MLINT * | numAttIDs, | ||
ParamVertexConstObj | pvObjs[], | ||
MLINT | sizepvObjs, | ||
MLINT * | numpvObjs | ||
) |
Get MeshEdge information.
[in] | meshAssocObj | MeshAssociativity object |
[in] | meshEdgeObj | MeshEdge object |
[in,out] | refBuf | reference buffer |
[in] | refBufLen | reference buffer length |
[in,out] | nameBuf | name buffer |
[in] | nameBufLen | name buffer length |
[out] | gref | GeometryGroup ID |
[out] | mid | ID |
[in,out] | attIDs | attribute ID array |
[in] | sizeAttIDs | attribute ID array size |
[out] | numAttIDs | attribute count |
[in,out] | pvObjs | ParamVertex object array |
[in] | sizepvObjs | ParamVertex object array size |
[out] | numpvObjs | ParamVertex object count |
MLSTATUS ML_getMeshElementLinkageInfo | ( | MeshAssociativityObj | meshAssocObj, |
MeshElementLinkageObj | linkageObj, | ||
char * | nameBuf, | ||
MLINT | nameBufLen, | ||
char * | sourceEntityRefBuf, | ||
MLINT | sourceEntityRefBufLen, | ||
char * | targetEntityRefBuf, | ||
MLINT | targetEntityRefBufLen, | ||
MLINT | attIDs[], | ||
MLINT | sizeAttIDs, | ||
MLINT * | numAttIDs | ||
) |
Get info associated with a MeshElementLinkage.
[in] | meshAssocObj | MeshAssociativity object |
[in] | linkageObj | MeshElementLinkage object |
[in,out] | nameBuf | name buffer |
[in] | nameBufLen | name buffer length |
[in,out] | sourceEntityRefBuf | Source mesh entity reference buffer |
[in] | sourceEntityRefBufLen | Source mesh entity reference buffer size |
[in,out] | targetEntityRefBuf | Target mesh entity reference buffer |
[in] | targetEntityRefBufLen | Target mesh entity reference buffer size |
[in,out] | attIDs | attribute ID array |
[in] | sizeAttIDs | attribute ID array size |
[out] | numAttIDs | attribute count |
MLSTATUS ML_getMeshElementLinkages | ( | MeshAssociativityObj | meshAssocObj, |
MeshElementLinkageObj * | linkageObjs, | ||
MLINT | sizeLinkageObj, | ||
MLINT * | numLinkageObjs | ||
) |
Get array of MeshElementLinkages in the MeshAssociativity database.
[in] | meshAssocObj | MeshAssociativity object |
[in,out] | linkageObjs | MeshElementLinkage object array |
[in] | sizeLinkageObj | MeshElementLinkage object array size |
[out] | numLinkageObjs | MeshElementLinkage object count |
MLSTATUS ML_getMeshFaceInfo | ( | MeshAssociativityObj | meshAssocObj, |
MeshEdgeObj | meshFaceObj, | ||
char * | refBuf, | ||
MLINT | refBufLen, | ||
char * | nameBuf, | ||
MLINT | nameBufLen, | ||
MLINT * | gref, | ||
MLINT * | mid, | ||
MLINT | attIDs[], | ||
MLINT | sizeAttIDs, | ||
MLINT * | numAttIDs, | ||
ParamVertexConstObj | pvObjs[], | ||
MLINT | sizepvObjs, | ||
MLINT * | numpvObjs | ||
) |
Get MeshFace information.
[in] | meshAssocObj | MeshAssociativity object |
[in] | meshFaceObj | MeshFace object |
[in,out] | refBuf | reference buffer |
[in] | refBufLen | reference buffer length |
[in,out] | nameBuf | name buffer |
[in] | nameBufLen | name buffer length |
[out] | gref | GeometryGroup ID |
[out] | mid | ID |
[in,out] | attIDs | attribute ID array |
[in] | sizeAttIDs | attribute ID array size |
[out] | numAttIDs | attribute count |
[in,out] | pvObjs | ParamVertex object array |
[in] | sizepvObjs | ParamVertex object array size |
[out] | numpvObjs | ParamVertex object count |
MLSTATUS ML_getMeshLinkTransformInfo | ( | MeshAssociativityObj | meshAssocObj, |
MeshLinkTransformConstObj | xformObj, | ||
char * | nameBuf, | ||
MLINT | nameBufLen, | ||
MLINT | attIDs[], | ||
MLINT | sizeAttIDs, | ||
MLINT * | numAttIDs | ||
) |
Get info associated with a MeshLinkTransform.
[in] | meshAssocObj | MeshAssociativity object |
[in] | xformObj | MeshLinkTransform object |
[in,out] | nameBuf | name buffer |
[in] | nameBufLen | name buffer length |
[in,out] | attIDs | attribute ID array |
[in] | sizeAttIDs | attribute ID array size |
[out] | numAttIDs | attribute count |
MLSTATUS ML_getMeshModelByName | ( | MeshAssociativityObj | meshAssocObj, |
const char * | modelname, | ||
MeshModelObj * | meshModel | ||
) |
Get MeshModel object by name.
[in] | meshAssocObj | MeshAssociativity object |
[in] | modelname | Mesh Model name |
[out] | meshModel | MeshModel object |
MLSTATUS ML_getMeshModels | ( | MeshAssociativityObj | meshAssocObj, |
MeshTopoObj * | modelObjs, | ||
MLINT | sizeModelObj, | ||
MLINT * | numModelObjs | ||
) |
Get array of MeshModels in the MeshAssociativity.
[in] | meshAssocObj | MeshAssociativity object |
[in,out] | modelObjs | MeshModel object array |
[in] | sizeModelObj | MeshModel object array size |
[out] | numModelObjs | MeshModel object count |
MLSTATUS ML_getMeshPointInfo | ( | MeshAssociativityObj | meshAssocObj, |
MeshPointObj | meshPointObj, | ||
char * | refBuf, | ||
MLINT | refBufLen, | ||
char * | nameBuf, | ||
MLINT | nameBufLen, | ||
MLINT * | gref, | ||
MLINT * | mid, | ||
MLINT | attIDs[], | ||
MLINT | sizeAttIDs, | ||
MLINT * | numAttIDs, | ||
ParamVertexConstObj * | pvObj | ||
) |
Get MeshPoint information.
[in] | meshAssocObj | MeshAssociativity object |
[in] | meshPointObj | MeshPoint object |
[in,out] | refBuf | reference buffer |
[in] | refBufLen | reference buffer length |
[in,out] | nameBuf | name buffer |
[in] | nameBufLen | name buffer length |
[out] | gref | GeometryGroup ID |
[out] | mid | ID |
[in,out] | attIDs | attribute ID array |
[in] | sizeAttIDs | attribute ID array size |
[out] | numAttIDs | attribute count |
[out] | pvObj | ParamVertex object |
MLSTATUS ML_getMeshSheetByName | ( | MeshAssociativityObj | meshAssocObj, |
const char * | sheetname, | ||
MeshModelObj * | meshModel, | ||
MeshSheetObj * | meshSheet | ||
) |
Get MeshSheet object by name.
[in] | meshAssocObj | MeshAssociativity object |
[in] | sheetname | Mesh Sheet name |
[out] | meshModel | MeshModel object containing sheet |
[out] | meshSheet | MeshSheet object |
MLSTATUS ML_getMeshSheets | ( | MeshModelObj | meshModelObj, |
MeshSheetObj * | sheetObjs, | ||
MLINT | sizeSheetObj, | ||
MLINT * | numSheetObjs | ||
) |
MLSTATUS ML_getMeshStringByName | ( | MeshAssociativityObj | meshAssocObj, |
const char * | stringname, | ||
MeshModelObj * | meshModel, | ||
MeshStringObj * | meshString | ||
) |
Get MeshString object by name.
[in] | meshAssocObj | MeshAssociativity object |
[in] | stringname | Mesh String name |
[out] | meshModel | MeshModel object containing string |
[out] | meshString | MeshString object |
MLSTATUS ML_getMeshStrings | ( | MeshModelObj | meshModelObj, |
MeshTopoObj | stringObjs[], | ||
MLINT | sizeStringObj, | ||
MLINT * | numStringObjs | ||
) |
Get array of MeshStrings in the MeshModel.
[in] | meshModelObj | MeshModel object |
[in,out] | stringObjs | MeshString object array |
[in] | sizeStringObj | MeshString object array size |
[out] | numStringObjs | MeshString object count |
MLSTATUS ML_getMeshTopoGref | ( | MeshTopoObj | meshTopoObj, |
MLINT * | gref | ||
) |
Get GeometryGroup ID for a MeshTopo object. MeshTopo object may be a MeshPoint, MeshEdge, MeshFace object.
[in] | meshTopoObj | MeshTopo object |
[out] | gref | GeometryGroup ID |
MLSTATUS ML_getMeshTopoInfo | ( | MeshAssociativityObj | meshAssocObj, |
MeshTopoObj | meshTopoObj, | ||
char * | refBuf, | ||
MLINT | refBufLen, | ||
char * | nameBuf, | ||
MLINT | nameBufLen, | ||
MLINT * | gref, | ||
MLINT * | mid, | ||
MLINT | attIDs[], | ||
MLINT | sizeAttIDs, | ||
MLINT * | numAttIDs | ||
) |
Get MeshTopo information. MeshTopo object may be a MeshPoint, MeshEdge, MeshFace object.
[in] | meshAssocObj | MeshAssociativity object |
[in] | meshTopoObj | MeshTopo object |
[in,out] | refBuf | reference buffer |
[in] | refBufLen | reference buffer size |
[in,out] | nameBuf | name buffer |
[in] | nameBufLen | name buffer length |
[out] | gref | GeometryGroup ID |
[out] | mid | ID |
[in,out] | attIDs | attribute ID array |
[in] | sizeAttIDs | attribute ID array size |
[out] | numAttIDs | attribute count |
MLSTATUS ML_getModelMeshSheetByName | ( | MeshModelObj | meshModelObj, |
const char * | sheetname, | ||
MeshSheetObj * | meshSheetObj | ||
) |
MLSTATUS ML_getModelMeshStringByName | ( | MeshModelObj | meshModelObj, |
const char * | stringname, | ||
MeshStringObj * | meshStringObj | ||
) |
Get a MeshString in the MeshModel by name.
[in] | meshModelObj | MeshModel object |
[in] | stringname | MeshString name to find |
[in,out] | meshSheetObj | MeshString object |
MLINT ML_getNumGeometryFiles | ( | MeshAssociativityObj | meshAssocObj | ) |
Get number of geometry files referenced by the MeshAssociativity.
[in] | meshAssocObj | MeshAssociativity object |
MLINT ML_getNumGeometryGroups | ( | MeshAssociativityObj | meshAssocObj | ) |
Get number of GeometryGroups in the MeshAssociativity database.
[in] | meshAssocObj | MeshAssociativity object |
MLINT ML_getNumMeshElementLinkages | ( | MeshAssociativityObj | meshAssocObj | ) |
Get number of MeshElementLinkages in the MeshAssociativity database.
[in] | meshAssocObj | MeshAssociativity object |
MLINT ML_getNumMeshModels | ( | MeshAssociativityObj | meshAssocObj | ) |
Get number of MeshModels in the MeshAssociativity.
[in] | meshAssocObj | MeshAssociativity object |
MLINT ML_getNumMeshSheets | ( | MeshModelObj | meshModelObj | ) |
MLINT ML_getNumMeshStrings | ( | MeshModelObj | meshModelObj | ) |
Get number of MeshStrings in the MeshModel.
[in] | meshModelObj | MeshModel object |
MLINT ML_getNumParamVerts | ( | MeshTopoObj | meshTopoObj | ) |
Get number of ParamVertex objects in the MeshTopo.
[in] | meshTopoObj | MeshTopo derived object |
MLINT ML_getNumSheetMeshFaceEdges | ( | MeshSheetObj | meshSheetObj | ) |
MLINT ML_getNumSheetMeshFaces | ( | MeshSheetObj | meshSheetObj | ) |
MLINT ML_getNumStringMeshEdges | ( | MeshSheetObj | meshStringObj | ) |
Get number of MeshEdges in the MeshString.
[in] | meshStringObj | MeshString object |
MLSTATUS ML_getParamVertInfo | ( | ParamVertexConstObj | pvObj, |
char * | vrefBuf, | ||
MLINT | vrefBufLen, | ||
MLINT * | gref, | ||
MLINT * | mid, | ||
MLVector2D | UV | ||
) |
Get Parametric Vertex information.
[in] | pvObj | ParamVertex object |
[in,out] | vrefBuf | MeshPoint reference buffer |
[in] | vrefBufLen | MeshPoint reference buffer size |
[out] | gref | GeometryGroup ID |
[out] | mid | ID |
[out] | UV | Parametric coordinates in GeometryGroup entity |
MLSTATUS ML_getParamVerts | ( | MeshTopoConstObj | meshTopoObj, |
ParamVertexConstObj | pvObjsArr[], | ||
MLINT | pvObjsArrLen, | ||
MLINT * | num_pvObjs | ||
) |
Return array of Parametric Vertices for a MeshTopo object. MeshTopo object may be any MeshTopo derived object, e.g. MeshSheet, MeshFace.
[in] | meshTopoObj | MeshTopo object |
[in,out] | pvObjsArr | ParamVertex array |
[in] | pvObjsArrLen | ParamVertex array size |
[out] | num_pvObjs | ParamVertex count |
MLSTATUS ML_getProjectionInfo | ( | GeometryKernelObj | geomKernelObj, |
ProjectionDataObj | projectionDataObj, | ||
MLVector3D | xyz, | ||
MLVector2D | UV, | ||
char * | entityNameBuf, | ||
MLINT | entityNameBufLen, | ||
MLREAL * | distance, | ||
MLREAL * | tolerance | ||
) |
Get info from closest point projection onto a GeometryGroup stored in a ProjectionData object specific to the GeometryKernel.
[in] | geomKernelObj | GeometryKernel object |
[in] | projectionDataObj | ProjectionData object |
[out] | xyz | location |
[out] | UV | parametric coordinates |
[in,out] | entityNameBuf | geoemtry entity name buffer |
[in] | entityNameBufLen | geoemtry entity name buffer length |
[out] | distance | the distance between the original point and projected point (can be NULL) |
[out] | tolerance | the error tolerance of the projection result (can be NULL) |
MLSTATUS ML_getSheetMeshFaceEdges | ( | MeshSheetObj | meshSheetObj, |
MeshTopoObj * | faceEdgeObjs, | ||
MLINT | sizeFaceEdgeObj, | ||
MLINT * | numFaceEdgeObjs | ||
) |
MLSTATUS ML_getSheetMeshFaces | ( | MeshSheetObj | meshSheetObj, |
MeshTopoObj * | faceObjs, | ||
MLINT | sizeFaceObj, | ||
MLINT * | numFaceObjs | ||
) |
MLSTATUS ML_getStringMeshEdges | ( | MeshSheetObj | meshStringObj, |
MeshTopoObj | edgeObjs[], | ||
MLINT | sizeEdgeObj, | ||
MLINT * | numEdgeObjs | ||
) |
Get array of MeshEdges in the MeshString.
[in] | meshStringObj | MeshString object |
[in,out] | edgeObjs | MeshEdge object array |
[in] | sizeEdgeObj | MeshEdge object array size |
[out] | numEdgeObjs | MeshEdge object count |
MLSTATUS ML_getTransform | ( | MeshAssociativityObj | meshAssocObj, |
MeshElementLinkageObj | linkageObj, | ||
MeshLinkTransformConstObj * | xformObj | ||
) |
Get MeshLinkTransform associated with a MeshElementLinkage.
[in] | meshAssocObj | MeshAssociativity object |
[in] | linkageObj | MeshElementLinkage object |
[out] | xformObj | MeshLinkTransform object (null if none) |
MLSTATUS ML_getTransformQuaternion | ( | MeshLinkTransformConstObj | xformObj, |
MLREAL | quat[4][4] | ||
) |
Get the quaternion matrix associated with a MeshLinkTransform.
[in] | xformObj | MeshLinkTransform object |
[out] | quat[4][4] | quaternion matrix |
MLSTATUS ML_parserGetMeshLinkAttributes | ( | MeshLinkParserObj | parseObj, |
char * | xmlns, | ||
MLINT | xmlnsBufLen, | ||
char * | xmlns_xsi, | ||
MLINT | xmlns_xsiBufLen, | ||
char * | schemaLocation, | ||
MLINT | schemaBufLen | ||
) |
Get MeshLink schema attributes.
[in] | parseObj | MeshLinkParser object |
[in,out] | xmlns | XML name space buffer |
[in] | xmlnsBufLen | XML name space buffer length |
[in,out] | xmlns_xsi | XML type space buffer |
[in] | xmlns_xsiBufLen | XML type space buffer length |
[in,out] | schemaLocation | schema location buffer |
[in] | schemaBufLen | schema location buffer length |
MLSTATUS ML_parserReadMeshLinkFile | ( | MeshLinkParserObj | parseObj, |
const char * | meshlinkFilename, | ||
MeshAssociativityObj | meshAssocObj | ||
) |
Read a MeshLink XML file into a MeshAssociativity object.
[in] | parseObj | MeshLinkParser object |
[in] | meshlinkFilename | meshlink filename |
[in,out] | meshAssocObj | MeshAssociativity object |
MLSTATUS ML_parserValidateFile | ( | MeshLinkParserObj | parseObj, |
const char * | meshlinkFilename, | ||
const char * | schemaFilename | ||
) |
Validate a MeshLink XML file against the schema.
[in] | parseObj | MeshLinkParser object |
[in] | meshlinkFilename | meshlink filename |
[in] | schemaFilename | schema filename |
MLSTATUS ML_projectPoint | ( | GeometryKernelObj | geomKernelObj, |
GeometryGroupObj | geomGroupObj, | ||
MLVector3D | point, | ||
ProjectionDataObj | projectionDataObj | ||
) |
Closest point projection onto a GeometryGroup. A ProjectionData object is used to store inverse evaluation data specific to the GeometryKernel.
[in] | geomKernelObj | GeometryKernel object |
[in] | geomGroupObj | GeometryGroup object |
[in] | point | XYZ location |
[in,out] | projectionDataObj | ProjectionData object |
MLSTATUS ML_readGeomFile | ( | GeometryKernelObj | geomKernelObj, |
const char * | geomFilename | ||
) |
Read a GeometryFile into the GeometryKernel.
[in] | geomKernelObj | GeometryKernel object |
[in] | geomFilename | geometry file name |
MLSTATUS ML_removeGeometryKernel | ( | MeshAssociativityObj | meshAssocObj, |
GeometryKernelObj | geomKernelObj | ||
) |
Remove GeometryKernel object from MeshAssociativity.
[in,out] | meshAssocObj | MeshAssociativity object |
[in] | geomKernelObj | GeometryKernel object |
MLSTATUS ML_setActiveGeometryKernelByName | ( | MeshAssociativityObj | meshAssocObj, |
const char * | kernelname | ||
) |
Set MeshAssociativity active Geometry Kernel by name.
[in,out] | meshAssocObj | MeshAssociativity object |
[in] | kernelname | Geometry Kernel name |
MLSTATUS ML_setGeomModelSize | ( | GeometryKernelObj | geomKernelObj, |
MLREAL | modelSize | ||
) |
Set the model size attribute in the GeometryKernel. Model size (extents) is used to define tolerances related to model closure, e.g. same point tolerance.
[in] | geomKernelObj | GeometryKernel object |
[in] | modelSize | model size |
MLSTATUS ML_writerWriteMeshLinkFile | ( | MeshLinkWriterObj | writeObj, |
MeshAssociativityObj | meshAssocObj, | ||
const char * | meshlinkFilename, | ||
const char * | xmlns, | ||
const char * | xmlns_xsi, | ||
const char * | schemaLocation | ||
) |
Write MeshAssociativity data to XML file.
[in] | writeObj | MeshLinkWriter object |
[in] | meshAssocObj | MeshAssociativity object |
[in] | meshlinkFilename | meshlink filename |
[in,out] | xmlns | XML name space |
[in,out] | xmlns_xsi | XML type space |
[in,out] | schemaLocation | schema location |