drasys.or.geom
Interface PointI

All Known Subinterfaces:
PointI, PointI, PointI
All Known Implementing Classes:
Point

public interface PointI
extends GeomI

An interface used by all algorithms to abstractly access points.


Method Summary
 double getCoordinate(int i)
          Returns individual coordinates by ordinality.
 double getDirectionTo(PointI point)
          Returns the direction to the argument.
 
Methods inherited from interface drasys.or.geom.GeomI
coordinateSystem, getCentroid, getDistanceProxyTo, getDistanceTo, getNearestPointTo, getRange
 

Method Detail

getCoordinate

public double getCoordinate(int i)
Returns individual coordinates by ordinality.

getDirectionTo

public double getDirectionTo(PointI point)
Returns the direction to the argument. The return value is in the range -PI to +PI.


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