com.esri.arcgis.geometry
Class PointArray

java.lang.Object
  extended by com.esri.arcgis.geometry.PointArray
All Implemented Interfaces:
IPointArray, com.esri.arcgis.interop.RemoteObjRef, IXMLSerialize, java.io.Serializable

public class PointArray
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IXMLSerialize, IPointArray

COM Class 'PointArray'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.system.IXMLSerialize
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IPointArray
IID, IID14e5444e_9fc2_4fc9_adda_941e0342ca3d, xxDummy
 
Constructor Summary
PointArray()
          Constructs a PointArray using ArcGIS Engine.
PointArray(java.lang.Object obj)
          Construct a PointArray using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 void add(IPoint p)
          Adds a point.
 void deserialize(IXMLSerializeData data)
          Deserializes an object from XML.
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 int getCount()
          The point count.
 IPoint getElement(int index)
          Returns the point at the specified position.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void insert(int index, IPoint p)
          Adds a point at the specified position.
 void release()
          Release a PointArray.
 void remove(int index)
          Removes the point at the specified position.
 void removeAll()
          Removes all points.
 void serialize(IXMLSerializeData data)
          Serializes an object to XML.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PointArray

public PointArray()
           throws java.io.IOException,
                  java.net.UnknownHostException
Constructs a PointArray using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

PointArray

public PointArray(java.lang.Object obj)
           throws java.io.IOException
Construct a PointArray using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to PointArray.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems PointArray thePointArray = (PointArray) obj;
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a PointArray.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

serialize

public void serialize(IXMLSerializeData data)
               throws java.io.IOException,
                      AutomationException
Serializes an object to XML.

Specified by:
serialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deserialize

public void deserialize(IXMLSerializeData data)
                 throws java.io.IOException,
                        AutomationException
Deserializes an object from XML.

Specified by:
deserialize in interface IXMLSerialize
Parameters:
data - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

public int getCount()
             throws java.io.IOException,
                    AutomationException
The point count.

Specified by:
getCount in interface IPointArray
Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElement

public IPoint getElement(int index)
                  throws java.io.IOException,
                         AutomationException
Returns the point at the specified position.

Specified by:
getElement in interface IPointArray
Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

public void remove(int index)
            throws java.io.IOException,
                   AutomationException
Removes the point at the specified position.

Specified by:
remove in interface IPointArray
Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

removeAll

public void removeAll()
               throws java.io.IOException,
                      AutomationException
Removes all points.

Specified by:
removeAll in interface IPointArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

public void add(IPoint p)
         throws java.io.IOException,
                AutomationException
Adds a point.

Specified by:
add in interface IPointArray
Parameters:
p - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

public void insert(int index,
                   IPoint p)
            throws java.io.IOException,
                   AutomationException
Adds a point at the specified position.

Specified by:
insert in interface IPointArray
Parameters:
index - The index (in)
p - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.