GeoAPI 1.0
Build 2004-05-18

org.opengis.spatialschema.geometry.geometry
Interface LineString

All Superinterfaces:
CurveSegment, GenericCurve
All Known Subinterfaces:
LineSegment

public interface LineString
extends CurveSegment

A sequence of line segments, each having a parameterization like the one LineSegment. The class essentially combines a List<LineSegment> into a single object, with the obvious savings of storage space.

Version:
2.0
Author:
ISO/DIS 19107, OpenGIS® consortium
See Also:
GeometryFactory.createLineString(java.util.List)
UML identifier (data type): GM_LineString

Method Summary
 List<LineSegment> asLineSegments()
          Decomposes a line string into an equivalent sequence of line segments.
 PointArray getControlPoints()
          Returns a sequence of positions between which the curve is linearly interpolated.
 
Methods inherited from interface CurveSegment
getBoundary, getCurve, getInterpolation, getNumDerivativeInterior, getNumDerivativesAtEnd, getNumDerivativesAtStart, getSamplePoints, reverse
 
Methods inherited from interface GenericCurve
asLineString, getConstructiveParam, getEndConstructiveParam, getEndParam, getEndPoint, getParam, getParamForPoint, getStartConstructiveParam, getStartParam, getStartPoint, getTangent, length, length
 

Method Detail

getControlPoints

PointArray getControlPoints()
Returns a sequence of positions between which the curve is linearly interpolated. The first position in the sequence is the start Point of this LineString, and the last point in the sequence is the end point of this LineString.

Returns:
The control points between which the curve is linearly interpolated.
UML identifier (operation): controlPoint

asLineSegments

List<LineSegment> asLineSegments()
Decomposes a line string into an equivalent sequence of line segments.

Returns:
The sequence of line segments.
UML identifier (operation): asGM_LineSegment

GeoAPI 1.0
Build 2004-05-18

Symbols, terms and definitions
Copyright OpenGIS® Consortium