InsertPolyFaceMesh Method (ISketchManager) Send Feedback
See Also  Example
PolyFaceMesh[out]
Poly face mesh
VerticesCount
Number of vertices in CoordinateDblArray
CoordinateDblArray
Array of doubles of the coordinates of all the mesh vertices
FaceVerticesCountLongArray
Array of longs of the number of vertices for each face
FaceVerticesLongArray
Array of longs of the vertex indexes for each face; the vertex index identifies which mesh vertex in CoordinateDblArray is on each face of this polygon face mesh
Inserts a polygon face mesh.

Syntax

Visual Basic 
Function InsertPolyFaceMesh( _
   ByVal VerticesCount As System.Integer, _
   ByVal CoordinateDblArray As System.Object, _
   ByVal FaceVerticesCountLongArray As System.Object, _
   ByVal FaceVerticesLongArray As System.Object _
) As PolyFaceMesh
C# 
PolyFaceMesh InsertPolyFaceMesh( 
   System.int VerticesCount,
   System.object CoordinateDblArray,
   System.object FaceVerticesCountLongArray,
   System.object FaceVerticesLongArray
)
JavaScript 
InsertPolyFaceMesh( 
   VerticesCount : Number,
   CoordinateDblArray : Array,
   FaceVerticesCountLongArray : Array,
   FaceVerticesLongArray : Array
) : dsPolyFaceMesh
COM native C++ 
HRESULT InsertPolyFaceMesh( 
   LONG VerticesCount,
   VARIANT CoordinateDblArray,
   VARIANT FaceVerticesCountLongArray,
   VARIANT FaceVerticesLongArray,
   IPolyFaceMesh** PolyFaceMesh
) 
C++ 
DSRESULT InsertPolyFaceMesh( 
   long VerticesCount,
   const dsDoubleArray& CoordinateDblArray,
   const dsLongArray& FaceVerticesCountLongArray,
   const dsLongArray& FaceVerticesLongArray,
   dsPolyFaceMesh** PolyFaceMesh
) 

Parameters

VerticesCount
Number of vertices in CoordinateDblArray
CoordinateDblArray
Array of doubles of the coordinates of all the mesh vertices
FaceVerticesCountLongArray
Array of longs of the number of vertices for each face
FaceVerticesLongArray
Array of longs of the vertex indexes for each face; the vertex index identifies which mesh vertex in CoordinateDblArray is on each face of this polygon face mesh
PolyFaceMesh[out] or Return Value
Poly face mesh

Example

 

See Also

Availability

DraftSight V1R1.3