|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--List | +--MultiGeometry
a MultiGeometry is a List of Geometry objects
Defined in geometry.js
Fields inherited from class List |
list
|
Constructor Summary | |
MultiGeometry(geomType)
|
Method Summary | |
Boolean
|
delPoint(<Integer> i,<Integer> j)
deletes the j-th Point object of the i-th Geometry object of this MultiGeometry object. |
Boolean
|
equals(<MultiGeometry> multigeom)
compares this MultiGeometry object with the MultiGeometry object multigeom. |
Array of two Point objects
|
getBBox()
gets the bounding box of this MultiGeometry |
Point
|
getCenter()
gets the center of the bounding box of this MultiGeometry. |
Integer
|
getPoint(j,k)
gets the total number of Point objects of this MultiGeometry. |
Integer
|
getTotalPointCount()
gets the total number of Point objects of this MultiGeometry. |
void
|
updateAllPointsLike(<Point> oldP, <Point> newP)
updates all Point objects of this MultiGeometry that equal oldP to newP |
Methods inherited from class List |
count, del, empty, get, add, addCopy, union, toString
|
Constructor Detail |
MultiGeometry(geomType)
Method Detail |
Boolean delPoint(<Integer> i,<Integer> j)
i
- geometry index
j
- point index
Boolean equals(<MultiGeometry> multigeom)
multigeom
- another multigeometry
Array of two Point objects getBBox()
Point getCenter()
Integer getPoint(j,k)
Integer getTotalPointCount()
void updateAllPointsLike(<Point> oldP, <Point> newP)
oldP
-
newP
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |