Algorithm
Development Kit 1.0

algs.model
Interface IMultiLineSegment

All Known Implementing Classes:
TwoDLineSegment

public interface IMultiLineSegment

A Line Segment between two multidimensional points.

Since:
1.0
Version:
1.0, 6/15/08
Author:
George Heineman

Method Summary
 int dimensionality()
          Return the dimensionality of this line segment.
 IMultiPoint getEndPoint()
          Return the coordinate value of the End of the line segment as an IMultiPoint.
 IMultiPoint getStartPoint()
          Return the coordinate value of the Start of the line segment as an IMultiPoint.
 

Method Detail

dimensionality

int dimensionality()
Return the dimensionality of this line segment.


getStartPoint

IMultiPoint getStartPoint()
Return the coordinate value of the Start of the line segment as an IMultiPoint.


getEndPoint

IMultiPoint getEndPoint()
Return the coordinate value of the End of the line segment as an IMultiPoint.


Algorithm Development Kit 1.0

This code supports the Algorithms in a Nutshell book, published by O'Reilly Media, Inc. in November 2008. Please visit the book web page to learn of any changes to the code repository or to record a potential defect.