|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kaboum.geom.KaboumGeometry org.kaboum.geom.KaboumPoint
public class KaboumPoint
Basic implementation of Point
.
Field Summary | |
---|---|
protected KaboumCoordinate |
coordinate
The Coordinate wrapped by this Point . |
Fields inherited from class org.kaboum.geom.KaboumGeometry |
---|
WKT_LINESTRING, WKT_POINT, WKT_POLYGON |
Constructor Summary | |
---|---|
KaboumPoint(KaboumCoordinate coordinate)
Constructs a Point with the given coordinate. |
Method Summary | |
---|---|
void |
addCoordinate(KaboumCoordinate internal)
|
java.lang.Object |
clone()
Perform an exact copy of this object |
protected KaboumExtent |
computeExtentInternal()
|
boolean |
equalsExact(KaboumGeometry other)
|
double |
getArea()
|
KaboumCoordinate |
getCoordinate()
|
KaboumCoordinate[] |
getCoordinates()
Returns this Geometry s vertices. |
int |
getDimension()
|
KaboumExtent |
getExtent()
|
KaboumCoordinate[] |
getExteriorCoordinates()
Returns this Geometry s exterior vertices. |
int |
getExteriorNumPoints()
|
java.lang.String |
getGeometryType()
|
int |
getNumPoints()
Returns the count of this Geometry s vertices. |
double |
getPerimeter()
|
double |
getX()
|
double |
getY()
|
boolean |
isClosed()
|
boolean |
isEmpty()
|
void |
normalize()
|
boolean |
setCoordinates(KaboumCoordinate[] internals)
Fill a SIMPLE geometry with input coordinates list |
Methods inherited from class org.kaboum.geom.KaboumGeometry |
---|
addCoordinateInGeometryN, getGeometryN, getNumGeometries, hasNonEmptyElements, hasNullElements, indexOf, isEquivalentClass, minCoordinate, removeGeometry, reversePointOrder, scroll |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected KaboumCoordinate coordinate
Coordinate
wrapped by this Point
.
Constructor Detail |
---|
public KaboumPoint(KaboumCoordinate coordinate)
Point
with the given coordinate.
coordinate
- the coordinate on which to base this Point
Method Detail |
---|
public KaboumCoordinate[] getCoordinates()
KaboumGeometry
Geometry
s vertices.
getCoordinates
in class KaboumGeometry
Geometry
public KaboumCoordinate[] getExteriorCoordinates()
KaboumGeometry
Geometry
s exterior vertices.
getExteriorCoordinates
in class KaboumGeometry
Geometry
public int getNumPoints()
KaboumGeometry
Geometry
s vertices.
getNumPoints
in class KaboumGeometry
Geometry
public int getExteriorNumPoints()
getExteriorNumPoints
in class KaboumGeometry
public boolean isEmpty()
isEmpty
in class KaboumGeometry
public int getDimension()
getDimension
in class KaboumGeometry
public double getX()
public double getY()
public KaboumCoordinate getCoordinate()
public boolean setCoordinates(KaboumCoordinate[] internals)
KaboumGeometry
setCoordinates
in class KaboumGeometry
Geometry
public java.lang.String getGeometryType()
getGeometryType
in class KaboumGeometry
protected KaboumExtent computeExtentInternal()
public boolean equalsExact(KaboumGeometry other)
equalsExact
in class KaboumGeometry
public java.lang.Object clone()
KaboumGeometry
clone
in class KaboumGeometry
public boolean isClosed()
isClosed
in class KaboumGeometry
public void normalize()
normalize
in class KaboumGeometry
public KaboumExtent getExtent()
getExtent
in class KaboumGeometry
public double getArea()
getArea
in class KaboumGeometry
public double getPerimeter()
getPerimeter
in class KaboumGeometry
public void addCoordinate(KaboumCoordinate internal)
addCoordinate
in class KaboumGeometry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |