SetVertexCoordinate Method (IPolyFaceMesh) Send Feedback
See Also 
Success[out]
True if successful, false if not
VertexIndex
Index of a mesh vertex
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 vertex of the polygon face mesh.

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
X
x coordinate of the mesh vertex
Y
y coordinate of the mesh vertex
Z
z coordinate of the mesh vertex
Success[out] or Return Value
True if successful, false if not

Remarks

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

 

See Also

Availability

DraftSight V1R1.3