GetVertexCoordinate Method (IPolyFaceMesh) Send Feedback
See Also  Example
Success[out]
True if successful, false if not
VertexIndex
Index of a mesh vertex (see Remarks)
X[out]
x coordinate of the mesh vertex
Y[out]
y coordinate of the mesh vertex
Z[out]
z coordinate of the mesh vertex
Gets the coordinates of the vertex of the specified polygon face mesh.

Syntax

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

Parameters

VertexIndex
Index of a mesh vertex (see Remarks)
X[out]
x coordinate of the mesh vertex
Y[out]
y coordinate of the mesh vertex
Z[out]
z coordinate of the mesh vertex
Success[out] or Return Value
True if successful, false if not

Example

Remarks

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

 

See Also

Availability

DraftSight V1R1.3