drasys.or.geom.rect2
Interface Rect2I

All Known Subinterfaces:
LineSegmentI, PointI, PolygonI, RangeI
All Known Implementing Classes:
Rect2

public interface Rect2I
extends GeomI

An interface to abstractly access 2D rectngular objects.


Method Summary
 PointI centroid()
           
 double distanceProxyTo(PointI point)
           
 double distanceTo(PointI point)
           
 PointI nearestPointTo(PointI point)
           
 RangeI range()
           
 
Methods inherited from interface drasys.or.geom.GeomI
coordinateSystem, getCentroid, getDistanceProxyTo, getDistanceTo, getNearestPointTo, getRange
 

Method Detail

range

public RangeI range()

centroid

public PointI centroid()

nearestPointTo

public PointI nearestPointTo(PointI point)

distanceTo

public double distanceTo(PointI point)

distanceProxyTo

public double distanceProxyTo(PointI point)


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