Package org.geolatte.geom
Class LineSegments<P extends Position>
- java.lang.Object
-
- org.geolatte.geom.LineSegments<P>
-
- All Implemented Interfaces:
Iterable<LineSegment<P>>
public class LineSegments<P extends Position> extends Object implements Iterable<LineSegment<P>>
Turns aPointSequenceinto anIterableover theLineSegmentsdefined by each consecutive pair ofPoints in thePointSequence.- Author:
- Karel Maesen, Geovise BVBA creation-date: 4/25/11
-
-
Constructor Summary
Constructors Constructor Description LineSegments(PositionSequence<P> positionSequence)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<LineSegment<P>>iterator()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
LineSegments
public LineSegments(PositionSequence<P> positionSequence)
-
-