|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--List | +--Geometry
a Geometry is a List of Point objects. If it is a polygon, the last point has
to equal the first point.
See:
Fields inherited from class List |
list
|
Constructor Summary | |
Geometry(aGeomtype)
|
Method Summary | |
Boolean
|
equals(<Geometry> geom)
compares this Geometry object with the Geometry object geom point by point. |
Point[]
|
getBBox()
gets the bounding box of this Geometry |
void
|
updateAllPointsLike(<Point> oldP, <Point> newP)
updates all Point objects of this Geometry that equal oldP to newP |
Methods inherited from class List |
count, del, empty, get, add, addCopy, union, toString
|
Constructor Detail |
Geometry(aGeomtype)
a
- string representing a geometry type, see
Method Detail |
Boolean equals(<Geometry> geom)
geom
- another geometry
Point[] getBBox()
void updateAllPointsLike(<Point> oldP, <Point> newP)
oldP
-
newP
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |