drasys.or.geom.rect3
Class Rect3

java.lang.Object
  |
  +--drasys.or.geom.rect3.Rect3
Direct Known Subclasses:
LineSegment, Point, Range

public abstract class Rect3
extends java.lang.Object
implements Rect3I

A base class for rect3 objects.


Constructor Summary
Rect3()
           
 
Method Summary
 CoordinateSystemI coordinateSystem()
          Returns the 3-D coordinate system object.
 PointI getCentroid()
          Returns a PointI describing the centroid of the object
 double getDistanceProxyTo(PointI point)
          Returns an easily computable proxy that can be used to compare the distance to a point.
 double getDistanceTo(PointI point)
          Returns the distance to a point.
 PointI getNearestPointTo(PointI point)
          Returns a PointI describing the point on the boundary closest to 'point'.
 RangeI getRange()
          Returns a RangeI describing the extent of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rect3

public Rect3()
Method Detail

coordinateSystem

public CoordinateSystemI coordinateSystem()
Returns the 3-D coordinate system object.

getDistanceTo

public double getDistanceTo(PointI point)
Description copied from interface: GeomI
Returns the distance to a point.

getDistanceProxyTo

public double getDistanceProxyTo(PointI point)
Description copied from interface: GeomI
Returns an easily computable proxy that can be used to compare the distance to a point.

getRange

public RangeI getRange()
Description copied from interface: GeomI
Returns a RangeI describing the extent of the object.

getCentroid

public PointI getCentroid()
Description copied from interface: GeomI
Returns a PointI describing the centroid of the object

getNearestPointTo

public PointI getNearestPointTo(PointI point)
Description copied from interface: GeomI
Returns a PointI describing the point on the boundary closest to 'point'.


Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com