SetVertexCoordinate Method (IPolygonMesh) Send Feedback
See Also 
VertexIndex
Index of a mesh vertex (see Remarks)
X
x coordinate of the mesh vertex
Y
y coordinate of the mesh vertex
Z
z coordinate of the mesh vertex
Sets the coordinates of a PolygonMesh vertex.

Syntax

Visual Basic 
Function SetVertexCoordinate( _
   ByVal VertexIndex As System.Integer, _
   ByVal X As System.Double, _
   ByVal Y As System.Double, _
   ByVal Z As System.Double _
) As System.Boolean
C# 
System.bool SetVertexCoordinate( 
   System.int VertexIndex,
   System.double X,
   System.double Y,
   System.double Z
)
JavaScript 
SetVertexCoordinate( 
   VertexIndex : Number,
   X : Number,
   Y : Number,
   Z : Number
) : Boolean
COM native C++ 
HRESULT SetVertexCoordinate( 
   LONG VertexIndex,
   DOUBLE X,
   DOUBLE Y,
   DOUBLE Z,
   VARIANT_BOOL* Success
) 
C++ 
DSRESULT SetVertexCoordinate( 
   long VertexIndex,
   double X,
   double Y,
   double Z,
   bool* Success
) 

Parameters

VertexIndex
Index of a mesh vertex (see Remarks)
X
x coordinate of the mesh vertex
Y
y coordinate of the mesh vertex
Z
z coordinate of the mesh vertex

Remarks

Before calling this method, call IPolygonMesh::GetVerticesCount to determine a valid value for VertexIndex.
 

See Also

Availability

DraftSight V1R1.3