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 the vertex (see Remarks)
- X[out]
x coordinate of the vertex
- Y[out]
y coordinate of the vertex
- Z[out] or Return Value
z coordinate of the vertex
Before calling this method, call IPolyLine3D::GetVerticesCount to get the number of vertices in the 3D PolyLine and to determine a valid value for VertexIndex.
DraftSight V1R1.3