|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.geometry.Geometry
com.esri.core.geometry.MultiPoint
public final class MultiPoint
A class for a collection of points
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.esri.core.geometry.Geometry |
|---|
Geometry.Type |
| Field Summary |
|---|
| Fields inherited from class com.esri.core.geometry.Geometry |
|---|
m_description |
| Constructor Summary | |
|---|---|
MultiPoint()
|
|
| Method Summary | |
|---|---|
protected Object |
_getImpl()
|
void |
add(double x,
double y)
Adds a Point with the specified x, y coordinates to this multipoint |
void |
add(double x,
double y,
double z)
Adds a Point with the specified x, y, z coordinates to this multipoint |
void |
add(MultiPoint src,
int srcFrom,
int srcTo)
Appends points from another MultiPoint at the end of this one. |
void |
add(Point point)
Adds the specified point to this multipoint |
void |
addAttribute(int semantics)
Adds a new attribute to the Geometry. |
void |
copyTo(Geometry dst)
Copies this geometry to another Geometry of the same type. |
Geometry |
createInstance()
Creates instance of empty Geometry with the same VertexDescription. |
void |
dropAllAttributes()
Drops all attributes from the Geometry with exception of POSITON. |
void |
dropAttribute(int semantics)
Drops an attribute from the Geometry. |
boolean |
equals(Object other)
|
VertexDescription |
getDescription()
Returns the VertexDescription of this instance. |
int |
getDimension()
Returns the Geometry Dimension. |
Point |
getPoint(int index)
|
int |
getPointCount()
|
Geometry.Type |
getType()
Returns the Geometry type. |
int |
hashCode()
|
boolean |
isEmpty()
Returns True if the Geometry is empty. |
void |
mergeVertexDescription(VertexDescription src)
Merges the new VertexDescription by adding missing attributes from the src. |
void |
queryEnvelope2D(com.esri.core.geometry.Envelope2D env)
Returns tight bbox of the Geometry in X, Y plane, ignoring Z coordinate. |
void |
resize(int pointCount)
Resizes the MultiPoint to have the given size. |
void |
setEmpty()
Sets the Geometry as empty. |
void |
setPoint(int index,
Point pointSrc)
|
| Methods inherited from class com.esri.core.geometry.Geometry |
|---|
addID, addM, addZ, calculateArea2D, calculateLength2D, hasID, hasM, hasZ, isSegment, queryEnvelope |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiPoint()
| Method Detail |
|---|
public Point getPoint(int index)
public int getPointCount()
protected Object _getImpl()
_getImpl in class Geometrypublic void add(Point point)
point - - the Point to be added to this multipoint
public void add(double x,
double y)
x - - the new Point's X coordinatey - - the new Point's Y coordinate
public void add(double x,
double y,
double z)
x - - the new Point's X coordinatey - - the new Point's Y coordinatez - - the new Point's Z coordinate
public void add(MultiPoint src,
int srcFrom,
int srcTo)
src - The source MultiPointsrcFrom - The start index in the source multipoint to start appending the points.srcTo - The end index in the source MultiPoint right after the last point to be appended. Use -1 to indicate the rest of the source mp.public void resize(int pointCount)
pointCount - - the
public void setPoint(int index,
Point pointSrc)
public void copyTo(Geometry dst)
Geometry
copyTo in class Geometrypublic Geometry createInstance()
Geometry
createInstance in class Geometrypublic int getDimension()
Geometry
getDimension in class Geometrypublic Geometry.Type getType()
Geometry
getType in class Geometrypublic VertexDescription getDescription()
Geometry
public void addAttribute(int semantics)
Geometry
public void dropAllAttributes()
Geometry
public void dropAttribute(int semantics)
Geometry
public void mergeVertexDescription(VertexDescription src)
Geometry
public boolean isEmpty()
Geometry
isEmpty in class Geometrypublic void queryEnvelope2D(com.esri.core.geometry.Envelope2D env)
Geometry
public void setEmpty()
Geometry
setEmpty in class Geometrypublic boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||