|
||||||||||
| 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.Point
public final class Point
A Point feature geometry class
| 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 | |
|---|---|
Point()
Creates an empty 2 dimensional Point |
|
Point(double x,
double y)
Creates a 2 dimensional Point with specified x and y coordinates |
|
Point(double x,
double y,
double z)
Creates a 3 dimensional Point with specified x, y and z coordinates |
|
| Method Summary | |
|---|---|
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. |
boolean |
equals(Object _other)
|
int |
getDimension()
Returns the Geometry Dimension. |
int |
getID()
Returns the ID of the point. |
double |
getM()
Returns the attribute M of the point. |
Geometry.Type |
getType()
Returns the Geometry type. |
double |
getX()
Returns the X coordinate of the point. |
double |
getY()
Returns the Y coordinate of the point. |
double |
getZ()
Returns the Z coordinate of the point. |
int |
hashCode()
|
boolean |
isEmpty()
Returns True if the Geometry is empty. |
void |
setEmpty()
Sets the Geometry as empty. |
void |
setID(int id)
Sets the ID of the point. |
void |
setM(double m)
Sets the M coordinate of the point. |
void |
setX(double x)
Sets the X coordinate of the point. |
void |
setXY(double x,
double y)
|
void |
setY(double y)
Sets the Y coordinate of the point. |
void |
setZ(double z)
Sets the Z coordinate of the point. |
| Methods inherited from class com.esri.core.geometry.Geometry |
|---|
_getImpl, 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 Point()
public Point(double x,
double y)
public Point(double x,
double y,
double z)
| Method Detail |
|---|
public double getX()
public void setX(double x)
public double getY()
public void setY(double y)
public double getZ()
public void setZ(double z)
public double getM()
public void setM(double m)
public int getID()
public void setID(int id)
public Geometry.Type getType()
Geometry
getType in class Geometrypublic int getDimension()
Geometry
getDimension in class Geometrypublic void setEmpty()
Geometry
setEmpty in class Geometrypublic void copyTo(Geometry dst)
Geometry
copyTo in class Geometrypublic Geometry createInstance()
Geometry
createInstance in class Geometrypublic boolean isEmpty()
Geometry
isEmpty in class Geometry
public void setXY(double x,
double y)
public 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 | |||||||||