GetVertexCoordinate Method (ILeader)

GetVertexCoordinate Method (ILeader) | Send Feedback
See Also

VertexIndex
  Index of vertex

X[out]
  x coordinate

Y[out]
  y coordinate

Z[out]
  z coordinate

Gets the specified vertex of the Leader.

# Syntax

Visual Basic |
--- | ---
    Sub GetVertexCoordinate( _
       ByVal VertexIndex As System.Integer, _
       ByRef X As System.Double, _
       ByRef Y As System.Double, _
       ByRef Z As System.Double _
    )

C# |
--- | ---
    void 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
    }

COM native C++ |
--- | ---
    HRESULT GetVertexCoordinate(
       LONG VertexIndex,
       DOUBLE* X,
       DOUBLE* Y,
       DOUBLE* Z
    )

C++ |
--- | ---
    DSRESULT GetVertexCoordinate(
       long VertexIndex,
       double* X,
       double* Y,
       double* Z
    )

#### Parameters

VertexIndex
  Index of vertex
X[out]
  x coordinate
Y[out]
  y coordinate
Z[out] or Return Value
  z coordinate

# Remarks

Before calling this method, call ILeader::GetVerticesCount to get the value for VertexIndex.

# See Also

####

ILeader Interface
ILeader Members
ILeader::AddVertex Method ()
ILeader::RemoveLastVertex Method ()
ILeader::SetVertexCoordinate Method ()

# Availability

DraftSight V1R1.2