drasys.or.geom
Interface LineSegmentI
- All Known Subinterfaces:
- LineSegmentI, LineSegmentI
- public interface LineSegmentI
- extends GeomI
An interface used by all algorithms to abstractly access line segments.
Method Summary |
PointI |
getPoint1()
Returns the from point of the line segment. |
PointI |
getPoint2()
Returns the to point of the line segment. |
double |
length()
Returns the length of the line segment. |
getPoint1
public PointI getPoint1()
- Returns the from point of the line segment.
getPoint2
public PointI getPoint2()
- Returns the to point of the line segment.
length
public double length()
- Returns the length of the line segment.
Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com