|
||||||||||
| 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.KaboumLineString
org.kaboum.geom.KaboumLinearRing
public class KaboumLinearRing
Basic implementation of LinearRing.
| Field Summary |
|---|
| Fields inherited from class org.kaboum.geom.KaboumLineString |
|---|
points |
| Fields inherited from class org.kaboum.geom.KaboumGeometry |
|---|
WKT_LINESTRING, WKT_POINT, WKT_POLYGON |
| Constructor Summary | |
|---|---|
KaboumLinearRing(KaboumCoordinate[] points)
Constructs a LinearRing with the given points. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Perform an exact copy of this object |
double |
getArea()
Compute the area of this Linear Ring |
java.lang.String |
getGeometryType()
|
boolean |
isClosed()
|
boolean |
setCoordinates(KaboumCoordinate[] internals)
Fill a SIMPLE geometry with input coordinates list |
| Methods inherited from class org.kaboum.geom.KaboumLineString |
|---|
addCoordinate, computeExtentInternal, equalsExact, getCoordinateN, getCoordinates, getDimension, getEndPoint, getExtent, getExteriorCoordinates, getExteriorNumPoints, getNumPoints, getPerimeter, getPointN, getStartPoint, isCoordinate, isEmpty, isEquivalentClass, normalize |
| Methods inherited from class org.kaboum.geom.KaboumGeometry |
|---|
addCoordinateInGeometryN, getGeometryN, getNumGeometries, hasNonEmptyElements, hasNullElements, indexOf, minCoordinate, removeGeometry, reversePointOrder, scroll |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KaboumLinearRing(KaboumCoordinate[] points)
LinearRing with the given points.
A LinearRing cannot be used as a geometrical object, so it does
not get unique id.
points - points forming a closed and simple linestring| Method Detail |
|---|
public java.lang.String getGeometryType()
getGeometryType in class KaboumLineStringpublic boolean isClosed()
isClosed in class KaboumLineStringpublic java.lang.Object clone()
KaboumGeometry
clone in class KaboumLineStringpublic double getArea()
getArea in class KaboumLineStringpublic boolean setCoordinates(KaboumCoordinate[] internals)
KaboumGeometry
setCoordinates in class KaboumLineStringGeometry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||