AddVertex Method (ILeader)

AddVertex Method (ILeader) | Send Feedback
See Also

RetVal[out]
  True if the vertex is appended to the Leader, false if not

X
  x coordinate of the vertex

Y
  y coordinate of the vertex

Z
  z coordinate of the vertex

Appends the specified vertex to the Leader.

# Syntax

Visual Basic |
--- | ---
    Function AddVertex( _
       ByVal X As System.Double, _
       ByVal Y As System.Double, _
       ByVal Z As System.Double _
    ) As System.Boolean

C# |
--- | ---
    System.bool AddVertex(
       System.double X,
       System.double Y,
       System.double Z
    )

JavaScript |
--- | ---
    AddVertex(
       X : Number,
       Y : Number,
       Z : Number
    ) : Boolean

COM native C++ |
--- | ---
    HRESULT AddVertex(
       DOUBLE X,
       DOUBLE Y,
       DOUBLE Z,
       VARIANT_BOOL* RetVal
    )

C++ |
--- | ---
    DSRESULT AddVertex(
       double X,
       double Y,
       double Z,
       bool* RetVal
    )

#### Parameters

X
  x coordinate of the vertex
Y
  y coordinate of the vertex
Z
  z coordinate of the vertex
RetVal[out] or Return Value
  True if the vertex is appended to the Leader, false if not

# Remarks

The specified vertex is not appended to the Leader if the specified vertex is inside a 2e-10 cube surrounding the previous vertex.

# See Also

####

ILeader Interface
ILeader Members
ILeader::GetVertexCoordinate Method ()
ILeader::GetVerticesCount Method ()
ILeader::RemoveLastVertex Method ()
ILeader::SetVertexCoordinate Method ()

# Availability

DraftSight V1R4.0