|
||||||||||
| 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.KaboumGeometryCollection
public class KaboumGeometryCollection
Implementation of GeometryCollection.
| Field Summary | |
|---|---|
protected KaboumGeometry[] |
geometries
Internal representation of this GeometryCollection. |
| Fields inherited from class org.kaboum.geom.KaboumGeometry |
|---|
WKT_LINESTRING, WKT_POINT, WKT_POLYGON |
| Constructor Summary | |
|---|---|
KaboumGeometryCollection(KaboumGeometry[] geometries)
Constructs a GeometryCollection. |
|
| Method Summary | |
|---|---|
void |
addCoordinateInGeometryN(KaboumCoordinate internal,
int i)
|
boolean |
equalsExact(KaboumGeometry other)
|
double |
getArea()
|
KaboumCoordinate[] |
getCoordinates()
Returns this Geometry s vertices. |
int |
getDimension()
|
KaboumExtent |
getExtent()
|
KaboumCoordinate[] |
getExteriorCoordinates()
Returns this Geometry s exterior vertices. |
int |
getExteriorNumPoints()
|
KaboumGeometry |
getGeometryN(int n)
Return the number og geometries |
java.lang.String |
getGeometryType()
|
int |
getNumGeometries()
Return the number og geometries |
int |
getNumPoints()
Returns the count of this Geometrys vertices. |
double |
getPerimeter()
|
boolean |
isClosed()
|
boolean |
isEmpty()
|
void |
normalize()
|
boolean |
removeGeometry(KaboumGeometry inputGeometry)
Always returns false |
boolean |
removeGeometryN(int n)
|
boolean |
setCoordinates(KaboumCoordinate[] internals)
You CANNOT set coordinate of a Geometry Collection |
| Methods inherited from class org.kaboum.geom.KaboumGeometry |
|---|
addCoordinate, clone, hasNonEmptyElements, hasNullElements, indexOf, isEquivalentClass, minCoordinate, reversePointOrder, scroll |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected KaboumGeometry[] geometries
GeometryCollection.
| Constructor Detail |
|---|
public KaboumGeometryCollection(KaboumGeometry[] geometries)
GeometryCollection.
geometries - the Geometrys for this GeometryCollection
, or null or an empty array to create the empty geometry.
Elements may be empty Geometrys, but not null
s.| Method Detail |
|---|
public KaboumCoordinate[] getCoordinates()
KaboumGeometryGeometry s vertices.
getCoordinates in class KaboumGeometryGeometrypublic KaboumCoordinate[] getExteriorCoordinates()
KaboumGeometryGeometry s exterior vertices.
getExteriorCoordinates in class KaboumGeometryGeometrypublic boolean setCoordinates(KaboumCoordinate[] internals)
setCoordinates in class KaboumGeometryGeometrypublic boolean isEmpty()
isEmpty in class KaboumGeometrypublic int getDimension()
getDimension in class KaboumGeometrypublic int getNumGeometries()
KaboumGeometry
getNumGeometries in class KaboumGeometrypublic KaboumGeometry getGeometryN(int n)
KaboumGeometry
getGeometryN in class KaboumGeometrypublic boolean removeGeometry(KaboumGeometry inputGeometry)
KaboumGeometry
removeGeometry in class KaboumGeometrypublic boolean removeGeometryN(int n)
public int getNumPoints()
KaboumGeometryGeometrys vertices.
getNumPoints in class KaboumGeometryGeometrypublic int getExteriorNumPoints()
getExteriorNumPoints in class KaboumGeometrypublic java.lang.String getGeometryType()
getGeometryType in class KaboumGeometrypublic boolean equalsExact(KaboumGeometry other)
equalsExact 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 KaboumGeometry
public void addCoordinateInGeometryN(KaboumCoordinate internal,
int i)
addCoordinateInGeometryN in class KaboumGeometry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||