InsertPolygonMesh Method (ISketchManager) Send Feedback
See Also  Example
PolygonMesh[out]
PolygonMesh
MVertexCount
Number of vertices in a column of the mesh
NVertexCount
Number of vertices in a row of the mesh
CoordinateDblArray
Array of doubles of the coordinates of the vertices of the mesh; the size of this array is (MVertexCount * NVertexCount) * 3; specify the coordinates of all the vertices in each column, starting with the first column
Inserts a PolygonMesh with the specified MxN vertices at the specified coordinates.

Syntax

Visual Basic 
Function InsertPolygonMesh( _
   ByVal MVertexCount As System.Integer, _
   ByVal NVertexCount As System.Integer, _
   ByVal CoordinateDblArray As System.Object _
) As PolygonMesh
C# 
PolygonMesh InsertPolygonMesh( 
   System.int MVertexCount,
   System.int NVertexCount,
   System.object CoordinateDblArray
)
JavaScript 
InsertPolygonMesh( 
   MVertexCount : Number,
   NVertexCount : Number,
   CoordinateDblArray : Array
) : dsPolygonMesh
COM native C++ 
HRESULT InsertPolygonMesh( 
   LONG MVertexCount,
   LONG NVertexCount,
   VARIANT CoordinateDblArray,
   IPolygonMesh** PolygonMesh
) 
C++ 
DSRESULT InsertPolygonMesh( 
   long MVertexCount,
   long NVertexCount,
   const dsDoubleArray& CoordinateDblArray,
   dsPolygonMesh** PolygonMesh
) 

Parameters

MVertexCount
Number of vertices in a column of the mesh
NVertexCount
Number of vertices in a row of the mesh
CoordinateDblArray
Array of doubles of the coordinates of the vertices of the mesh; the size of this array is (MVertexCount * NVertexCount) * 3; specify the coordinates of all the vertices in each column, starting with the first column
PolygonMesh[out] or Return Value
PolygonMesh

Example

 

See Also

Availability

DraftSight V1R1.3