AppendVertex Method

Appends a vertex to the end of a 3DPolyline, Polyline, or PolygonMesh object.

See Also | Example

Signature

object.AppendVertex Point

Object

3DPolyline , Polyline, PolygonMesh
The object or objects this method applies to.

Point

Variant (three-element array of doubles); input-only
The coordinates specifying the vertex to be appended.

PolygonMesh object: An array of 3D WCS coordinates specifying the appended row of vertices.

3DPolyline object: An array of 3D WCS coordinates specifying the vertex to append.

Polyline object: An array of 3D coordinates. The X and Y coordinates are given in OCS, the Z coordinate is ignored.

Remarks

PolygonMesh: When you append a vertex to the end of a PolygonMesh object, you are appending a row of vertices. For example, for a 4 x 3 PolygonMesh you define 12 vertices. Appending a vertex would make the matrix 5 x 3, thereby requiring three additional coordinates. If the 4 x 3 matrix had the following as its last vertex:

You would append:

The OCS coordinates for the Polyline object can be converted to and from other coordinate systems using the TranslateCoordinates method.

 

   Comments?