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()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Rect3
public Rect3()
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