|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 Geometrys 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()
KaboumGeometryGeometry s vertices.
getCoordinates in class KaboumGeometryGeometrypublic KaboumCoordinate[] getExteriorCoordinates()
KaboumGeometryGeometry s exterior vertices.
getExteriorCoordinates in class KaboumGeometryGeometrypublic int getNumPoints()
KaboumGeometryGeometrys vertices.
getNumPoints in class KaboumGeometryGeometrypublic int getExteriorNumPoints()
getExteriorNumPoints in class KaboumGeometrypublic boolean isEmpty()
isEmpty in class KaboumGeometrypublic int getDimension()
getDimension in class KaboumGeometrypublic double getX()
public double getY()
public KaboumCoordinate getCoordinate()
public boolean setCoordinates(KaboumCoordinate[] internals)
KaboumGeometry
setCoordinates in class KaboumGeometryGeometrypublic java.lang.String getGeometryType()
getGeometryType in class KaboumGeometryprotected KaboumExtent computeExtentInternal()
public boolean equalsExact(KaboumGeometry other)
equalsExact in class KaboumGeometrypublic java.lang.Object clone()
KaboumGeometry
clone in class KaboumGeometrypublic boolean isClosed()
isClosed in class KaboumGeometrypublic void normalize()
normalize in class KaboumGeometrypublic KaboumExtent getExtent()
getExtent in class KaboumGeometrypublic double getArea()
getArea in class KaboumGeometrypublic double getPerimeter()
getPerimeter in class KaboumGeometrypublic void addCoordinate(KaboumCoordinate internal)
addCoordinate in class KaboumGeometry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||