IPointCollection5 Interface

Provides access to members that manipulate the vertices as lightweight point+attribute structures (VA - vertex attribute)

Members

Name Description
Method AddPoint Adds a vertex to a Path, Ring, Polyline, or Polygon; or adds a reference to the input point to a Multipoint, TriangleFan, or TriangleStrip.
Method AddPointCollection Adds copies of points in the input point collection to this Path, Ring, Polyline, or Polygon; or adds references to the points in the collection to this Multipoint, TriangleFan, or TriangleStrip.
Method AddPoints Adds copies of the input points as vertices to this Path, Ring, Polyline, or Polygon; or references to the input points to this Multipoint, TriangleFan, or TriangleStrip. This method is intended for internal use only.
Method AddWKSPoints Adds vertices to this Path, Ring, Polyline, or Polygon, or adds new points to this Multipoint, TriangleFan, or TriangleStrip.
Method AddWKSPointVA Adds vertices/points.
Method AddWKSPointZs Adds vertices/points to this Path, Ring, Polyline, Polygon, Multipoint, TriangleFan, Triangles, TriangleStrip, or MultiPatch.
Read-only property EnumVertices A new enumerator for this point collection.
Method GetPoints Populates an array with references to points in the Multipoint. The QueryPoints method on IPointCollection makes copies of the points. This method is intended for internal use only.
Read-only property IndexedEnumVertices An indexed vertex enumerator for this point collection.
Method InsertPointCollection Inserts copies of points, from the input point collection, as vertices into this Path, Ring, Polyline, or Polygon; or references to points in the input point collection into this Multipoint, TriangleFan, or TriangleStrip.
Method InsertPoints Inserts copies of the input points as vertices into a Path, Ring, Polyline, or Polygon; or references to the input points into a Multipoint, TriangleFan, or TriangleStrip. This method is intended for internal use only.
Method InsertWKSPoints Inserts new vertices/points into this Path, Ring, Polyline, Polygon, Multipoint, TriangleFan, TriangleStrip, or MultiPatch.
Method InsertWKSPointVA Inserts new vertices/points.
Method InsertWKSPointZs Inserts new vertices/points into this Path, Ring, Polyline, Polygon, Multipoint, TriangleFan, Triangles, TriangleStrip, or MultiPatch.
Read-only property Point A copy of the ith vertex of a Path, Ring, Polyline, or Polygon; or a reference to the ith point of a Multipoint, TriangleFan, or TriangleStrip.
Read-only property PointCount The number of points in the collection.
Method QueryPoint Queries for a point in the PointCollection at given index.
Method QueryPoints Copies some points to an existing array of points. This method is intended for internal use only.
Method QueryWKSPoints Copies vertices'/points' coordinates to the array of point structures.
Method QueryWKSPointVA Copies vertices/points coordinates to the array of point structures.
Method QueryWKSPointZs Copies vertices/points coordinates to the array of point structures.
Method RemovePoints Removes vertices from a Path, Ring, Polyline, or Polygon, or references to points from a Multipoint, TriangleFan, or TriangleStrip.
Method ReplacePointCollection Replaces vertices/points within a PointCollection.
Method ReplacePoints Replaces vertices/points within a PointCollection.
Method SetPointCollection Replaces all vertices of this Path, Ring, Polyline, or Polygon with copies of the points in the input collection; or all points of this Multipoint, TriangleFan, or TriangleStrip with references to points from the input collection.
Method SetPoints Replaces all existing vertices of this Path, Ring, Polyline, or Polygon with copies of the input points; or all existing points of this Multipoint, TriangleFan, or TriangleStrip with references to the input points (for C++ and VB users only).
Method SetWKSPoints Replaces all vertices of this Path, Ring, Polyline, or Polygon with new ones, or replaces all points of this Multipoint, TriangleFan, or TriangleStrip with new ones.
Method SetWKSPointVA Replaces all vertices/points.
Method SetWKSPointZs Replaces all vertices/points of this Path, Ring, Polyline, Polygon, Multipoint, TriangleFan, Triangles, TriangleStrip, or MultiPatch with new ones.
Method UpdatePoint Changes the ith vertex or point to be a copy of the input point.

IPointCollection5.AddWKSPointVA Method

Adds vertices/points.

Public Sub AddWKSPointVA ( _
    ByVal Count As Integer, _
    ByRef pointStructures As WKSPointVA _
)
public void AddWKSPointVA (
    int Count,
    ref WKSPointVA pointStructures
);

IPointCollection5.InsertWKSPointVA Method

Inserts new vertices/points.

Public Sub InsertWKSPointVA ( _
    ByVal Index As Integer, _
    ByVal Count As Integer, _
    ByRef newPoints As WKSPointVA _
)
public void InsertWKSPointVA (
    int Index,
    int Count,
    ref WKSPointVA newPoints
);

IPointCollection5.QueryWKSPointVA Method

Copies vertices/points coordinates to the array of point structures.

Public Sub QueryWKSPointVA ( _
    ByVal Index As Integer, _
    ByVal Count As Integer, _
    ByRef pointStructures As WKSPointVA _
)
public void QueryWKSPointVA (
    int Index,
    int Count,
    ref WKSPointVA pointStructures
);

IPointCollection5.SetWKSPointVA Method

Replaces all vertices/points.

Public Sub SetWKSPointVA ( _
    ByVal Count As Integer, _
    ByRef pointStructures As WKSPointVA _
)
public void SetWKSPointVA (
    int Count,
    ref WKSPointVA pointStructures
);

Inherited Interfaces

Interfaces Description
IPointCollection4 Provides access to members that manipulate the points of a Multipoint, Path, Ring, Polyline, Polygon, TriangleFan, TriangleStrip, or MultiPatch.
IPointCollection3 Provides access to members that manipulate the points of a Multipoint.
IPointCollection2 Provides access to members that manipulate the points of a Multipoint.
IPointCollection Provides access to members that manipulate the points of a Multipoint, Path, Ring, Polyline, Polygon, TriangleFan, TriangleStrip, or MultiPatch.

Classes that implement IPointCollection5

Classes Description
Multipoint An ordered collection of points; optionally has measure, height and ID attributes.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.