drasys.or.geom.rect2
Interface LineSegmentI

All Known Implementing Classes:
LineSegment

public interface LineSegmentI
extends Rect2I, LineSegmentI

An interface to abstractly access a line segment in the 2D rectangular coordinate system.


Method Summary
 PointI point1()
           
 PointI point2()
           
 double x1()
           
 double x2()
           
 double y1()
           
 double y2()
           
 
Methods inherited from interface drasys.or.geom.rect2.Rect2I
centroid, distanceProxyTo, distanceTo, nearestPointTo, range
 
Methods inherited from interface drasys.or.geom.LineSegmentI
getPoint1, getPoint2, length
 

Method Detail

x1

public double x1()

y1

public double y1()

x2

public double x2()

y2

public double y2()

point1

public PointI point1()

point2

public PointI point2()


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