Class Geometry

Object
   |
   +--List
         |
         +--Geometry

class Geometry
extends List


a Geometry is a List of Point objects. If it is a polygon, the last point has to equal the first point.
See:

Defined in geometry.js

Requires:


 
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

Geometry(aGeomtype)

Method Detail

equals

Boolean equals(<Geometry> geom)

getBBox

Point[] getBBox()

updateAllPointsLike

void updateAllPointsLike(<Point> oldP, <Point> newP)


Documentation generated by JSDoc on Wed Aug 8 10:35:22 2007