org.geotools.geometry.iso.coordinate
Class PointArrayImpl.LineSegmentsSequence
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<LineSegmentImpl>
org.geotools.geometry.iso.coordinate.PointArrayImpl.LineSegmentsSequence
- All Implemented Interfaces:
- java.lang.Iterable<LineSegmentImpl>, java.util.Collection<LineSegmentImpl>, java.util.List<LineSegmentImpl>
- Enclosing class:
- PointArrayImpl
public class PointArrayImpl.LineSegmentsSequence
- extends java.util.AbstractList<LineSegmentImpl>
Class to support on-the-fly generation of LineSegments
- Author:
- roehrig
Fields inherited from class java.util.AbstractList |
modCount |
Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
Methods inherited from class java.util.AbstractCollection |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
PointArrayImpl.LineSegmentsSequence
public PointArrayImpl.LineSegmentsSequence(PointArrayImpl pointArray,
CurveImpl aParentCurve)
- Create a Line Segment sequence by a pointarray and a parent curve
- Parameters:
pointArray
- aParentCurve
-
get
public LineSegmentImpl get(int arg0)
- Specified by:
get
in interface java.util.List<LineSegmentImpl>
- Specified by:
get
in class java.util.AbstractList<LineSegmentImpl>
getStartDirectPositionCoordinate
public org.opengis.geometry.DirectPosition getStartDirectPositionCoordinate(int arg0,
org.opengis.geometry.DirectPosition dp)
- Parameters:
arg0
- dp
-
- Returns:
- DirectPosition
getEndDirectPositionCoordinate
public org.opengis.geometry.DirectPosition getEndDirectPositionCoordinate(int arg0,
org.opengis.geometry.DirectPosition dp)
- Parameters:
arg0
- dp
-
- Returns:
- DirectPositionImpl
getStartCoordinate
public double[] getStartCoordinate(int arg0)
- Parameters:
arg0
-
- Returns:
- double[]
getEndCoordinate
public double[] getEndCoordinate(int arg0)
- Parameters:
arg0
-
- Returns:
- double[]
size
public int size()
- Specified by:
size
in interface java.util.Collection<LineSegmentImpl>
- Specified by:
size
in interface java.util.List<LineSegmentImpl>
- Specified by:
size
in class java.util.AbstractCollection<LineSegmentImpl>
hasNext
public boolean hasNext()
- Returns:
- boolean
next
public LineSegmentImpl next()
- Returns:
- LineSegmentImpl
Copyright © 1996-2010 Geotools. All Rights Reserved.