|
||||||||||
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.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 Geometry s 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 Geometry
s for this GeometryCollection
, or null
or an empty array to create the empty geometry.
Elements may be empty Geometry
s, but not null
s.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 boolean setCoordinates(KaboumCoordinate[] internals)
setCoordinates
in class KaboumGeometry
Geometry
public boolean isEmpty()
isEmpty
in class KaboumGeometry
public int getDimension()
getDimension
in class KaboumGeometry
public int getNumGeometries()
KaboumGeometry
getNumGeometries
in class KaboumGeometry
public KaboumGeometry getGeometryN(int n)
KaboumGeometry
getGeometryN
in class KaboumGeometry
public boolean removeGeometry(KaboumGeometry inputGeometry)
KaboumGeometry
removeGeometry
in class KaboumGeometry
public boolean removeGeometryN(int n)
public int getNumPoints()
KaboumGeometry
Geometry
s vertices.
getNumPoints
in class KaboumGeometry
Geometry
public int getExteriorNumPoints()
getExteriorNumPoints
in class KaboumGeometry
public java.lang.String getGeometryType()
getGeometryType
in class KaboumGeometry
public boolean equalsExact(KaboumGeometry other)
equalsExact
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 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 |