|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.geometry.Geometry
public abstract class Geometry
A Base class for all Geometry objects. One can add or remove attributes of the Geometry and query envelope.
| Nested Class Summary | |
|---|---|
static class |
Geometry.Type
Geometry types |
| Field Summary | |
|---|---|
protected VertexDescription |
m_description
|
| Method Summary | |
|---|---|
protected Object |
_getImpl()
|
void |
addID()
Adds the ID attribute to this Geometry |
void |
addM()
Adds the M attribute to this Geometry |
void |
addZ()
Adds the Z attribute to this Geometry |
double |
calculateArea2D()
Calculates area of the Geometry. |
double |
calculateLength2D()
Calculates length of the Geometry. |
abstract void |
copyTo(Geometry dst)
Copies this geometry to another Geometry of the same type. |
abstract Geometry |
createInstance()
Creates instance of empty Geometry with the same VertexDescription. |
abstract int |
getDimension()
Returns the Geometry Dimension. |
abstract Geometry.Type |
getType()
Returns the Geometry type. |
boolean |
hasID()
Returns true if this Geometry has an ID attribute |
boolean |
hasM()
Returns true if this Geometry has an M attribute |
boolean |
hasZ()
Returns true if this Geometry has the Z attribute |
abstract boolean |
isEmpty()
Returns True if the Geometry is empty. |
static boolean |
isSegment(Geometry.Type type)
|
void |
queryEnvelope(Envelope env)
Returns tight bbox of the Geometry in X, Y plane, ignoring Z coordinate. |
abstract void |
setEmpty()
Sets the Geometry as empty. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected VertexDescription m_description
| Method Detail |
|---|
public abstract Geometry.Type getType()
public abstract int getDimension()
public void queryEnvelope(Envelope env)
public abstract boolean isEmpty()
public abstract void setEmpty()
public abstract Geometry createInstance()
public abstract void copyTo(Geometry dst)
Throws - invalid_argument if the Geometry is of different type.public double calculateArea2D()
public double calculateLength2D()
protected Object _getImpl()
public void addZ()
public boolean hasZ()
public void addM()
public boolean hasM()
public void addID()
public boolean hasID()
public static boolean isSegment(Geometry.Type type)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||