PreviousNext
Help > Programming PhotoModeler - Scripting/DDE Interface > Commands > TriangulatePointMesh
TriangulatePointMesh

Description:

Triangulates a non-triangulated pointmesh (equivalent to the Triangulation step on the Meshing Dialog)

Syntax:

"TriangulatePointMesh outTriMeshId inPcMeshId depthLevel"

where:

  - outTriMeshId is an id number identifying the output triangulated PointMesh (error condition if id already exists)

  - inPcMeshId is an id number identifying the input point cloud PointMesh 

  - depthLevel corresponds to the Mesh smoothing/sharpness setting in the program, which ranges from 0 – 5. A larger value will create more triangles giving sharper details, while a lower value will generate a smoother triangulation.

Return:

Returns  "1" if successful or "0" if not

Example:

"TriangulatePointMesh 3 2 4"