com.esri.arcgis.geometry
Interface IPointCollection2

All Superinterfaces:
IPointCollection, Serializable
All Known Subinterfaces:
IPointCollection3, IPointCollection4, IPointCollection5
All Known Implementing Classes:
MultiPatch, Multipoint, Path, Polygon, Polyline, Ring, TriangleFan, Triangles, TriangleStrip

public interface IPointCollection2
extends IPointCollection, Serializable

Provides access to members that manipulate the points of a Multipoint.

Superseded By

IPointCollection5

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void getPoints(int index, int count, IPoint[] points)
          Deprecated. This method uses C style arrays which are not supported in the ArcGIS API for Java. It is replaced by GeometryEnvironment.getPoints(com.esri.arcgis.geometry.IPointCollection4, int, com.esri.arcgis.geometry.IPoint[][]).
 
Methods inherited from interface com.esri.arcgis.geometry.IPointCollection
addPoint, addPointCollection, addPoints, getEnumVertices, getPoint, getPointCount, insertPointCollection, insertPoints, queryPoint, queryPoints, removePoints, replacePointCollection, replacePoints, setPointCollection, setPoints, updatePoint
 

Method Detail

getPoints

void getPoints(int index,
               int count,
               IPoint[] points)
               throws IOException,
                      AutomationException
Deprecated. This method uses C style arrays which are not supported in the ArcGIS API for Java. It is replaced by GeometryEnvironment.getPoints(com.esri.arcgis.geometry.IPointCollection4, int, com.esri.arcgis.geometry.IPoint[][]).

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
index - The index (in)
count - The count (in)
points - A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.