|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geometry.PointArray
public class PointArray
Constructor Summary | |
---|---|
PointArray()
Constructs a PointArray using ArcGIS Engine. |
|
PointArray(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(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getCount()
The point count. |
IPoint |
getElement(int index)
Returns the point at the specified position. |
int |
hashCode()
the hashcode for this object |
void |
insert(int index,
IPoint p)
Adds a point at the specified position. |
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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public PointArray() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic PointArray(Object obj) throws IOException
obj
to PointArray
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
PointArray thePointArray = (PointArray) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void serialize(IXMLSerializeData data) throws IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
getCount
in interface IPointArray
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint getElement(int index) throws IOException, AutomationException
getElement
in interface IPointArray
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void remove(int index) throws IOException, AutomationException
remove
in interface IPointArray
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void removeAll() throws IOException, AutomationException
removeAll
in interface IPointArray
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void add(IPoint p) throws IOException, AutomationException
add
in interface IPointArray
p
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void insert(int index, IPoint p) throws IOException, AutomationException
insert
in interface IPointArray
index
- The index (in)p
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |