sim.util.geo
Class MasonGeometry.GeomWrapperProxy

java.lang.Object
  extended by sim.util.geo.MasonGeometry.GeomWrapperProxy
Enclosing class:
MasonGeometry

public class MasonGeometry.GeomWrapperProxy
extends java.lang.Object

Inner class allows us to prevent certain getXXX and setXXX methods from appearing in the Inspector


Constructor Summary
MasonGeometry.GeomWrapperProxy()
           
 
Method Summary
 double getArea()
           
 int getNumVertices()
           
 double getPerimeter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MasonGeometry.GeomWrapperProxy

public MasonGeometry.GeomWrapperProxy()
Method Detail

getArea

public double getArea()
Returns:
the area of the internal JTS geometry object. The units are the same as same as the internal JTS geometry object

getPerimeter

public double getPerimeter()
Returns:
the length of the perimeter of the internal JTS geometry object. The units are the same as same as the internal JTS geometry object

getNumVertices

public int getNumVertices()
Returns:
the number of vertices which make up the geometry