public interface ILineString extends ICurveSegment
ILineString is an ICurveSegment where the control points are connected with straight
lines (i.e., linear interpolation between the control points).| Modifier and Type | Method and Description |
|---|---|
ILineString |
asLineString()
Returns an
ILineString that approximates this ICurveSegment. |
ILineString |
asLineString(Length maxSpacing,
Length maxOffset)
Returns an
ILineString that approximates this ICurveSegment. |
ILineString |
getCopy()
Get a (permanent) copy of this
IGeometry. |
ILineString |
getCopy(CoordSys crs)
Get a (permanent) copy of this
IGeometry transformed to the
given coordinate system. |
ILineString |
reverse()
Returns an
ICurveSegment that has the opposite orientation as this ICurveSegment. |
getControlPoint, getControlPointCount, getControlPointIterator, getControlPoints, getEndDistance, getEndPosition, getInterpolationType, getLength, getPointForDistance, getStartDistance, getStartPosition, isClosed, isLinearcontains, getArea, getCoordSys, getDimension, getEnvelope, getPerimeter, getSpatialInfo, getType, isEmpty, isTransient, mAllSet, mSet, zAllSet, zSetILineString getCopy()
IGeometryIGeometry.getCopy in interface ICurveSegmentgetCopy in interface IGeometryIGeometry.IGeometry.getCopy(CoordSys),
IGeometry.isTransient()ILineString getCopy(CoordSys crs)
IGeometryIGeometry transformed to the
given coordinate system.getCopy in interface ICurveSegmentgetCopy in interface IGeometrycrs - coordinate system of the returned copyIGeometry in the given coordinate systemIGeometry.isTransient()ILineString reverse()
ICurveSegmentICurveSegment that has the opposite orientation as this ICurveSegment.reverse in interface ICurveSegmentICurveSegment that has the opposite orientation as this ICurveSegment.ILineString asLineString()
ICurveSegmentILineString that approximates this ICurveSegment.asLineString in interface ICurveSegmentILineString that approximates this ICurveSegment.ILineString asLineString(Length maxSpacing, Length maxOffset)
ICurveSegmentILineString that approximates this ICurveSegment.
Approximates the ICurveSegment as a single ILineString. The first position of the
second and subsequent segments of this curve are omitted because they would be x/y equal
to the end position of the previous segment.
asLineString in interface ICurveSegmentmaxSpacing - the maximum distance between points in the constructed
ILineString. A maxSpacing of zero means "no limit".maxOffset - the maximum deviation of the constructed ILineString from this
curve. A maxOffset of zero means "no limit".ILineString that approximates this ICurveSegment.