public class Line2D extends BaseLine2D implements Line
AbstractLine.LineIterator, AbstractLine.VertexIterator
Geometry.DIMENSIONS, Geometry.OPERATIONS, Geometry.SUBTYPES, Geometry.TYPES, Geometry.ValidationStatus
coordinates
BEST, E, EXTENDED_GEOMSUBTYPE_OFFSET, EXTENDED_GEOMTYPE_OFFSET, N, NE, NW, S, SE, SELECTHANDLER, STRETCHINGHANDLER, SW, W
Constructor and Description |
---|
Line2D() |
Line2D(Coordinate[] coordinates) |
Modifier and Type | Method and Description |
---|---|
Geometry |
cloneGeometry()
Creates a clone of this geometry.
|
Geometry |
offset(double distance) |
addVertex, addVertex, fixPoint, getVertex, toLines, toPoints, toPolygons
addMoveToVertex, addVertex, canBeReprojected, canBeTransformed, cloneCoordinates, closePrimitive, ensureCapacity, flip, forceClose, getCoordinateAt, getDimension, getGeneralPath, getJTS, getNumVertices, getPathIterator, getPathIterator, getShape, getShape, insertVertex, is3D, isClosed, isClosed, isEmpty, iterator, removeVertex, reProject, setCoordinateAt, setGeneralPath, setPoints, setVertex, transform
getHandlers
area, buffer, centroid, closestPoints, compareTo, contains, contains, contains, contains, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, equals, fastIntersects, getBounds, getBounds2D, getEnvelope, getGeometryType, getInteriorPoint, getInternalShape, getManager, getType, getValidationStatus, intersection, intersects, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, notifyDeprecated, out, overlaps, perimeter, rotate, scale, snapTo, toString, touches, union, within
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addMoveToVertex, addVertex, addVertex, addVertex, closePrimitive, ensureCapacity, getCoordinateAt, getNumVertices, getVertex, insertVertex, removeVertex, setCoordinateAt, setGeneralPath, setVertex
area, buffer, canBeReprojected, canBeTransformed, centroid, closestPoints, contains, convertToEWKB, convertToEWKB, convertToEWKBForcingType, convertToWKB, convertToWKB, convertToWKBForcingType, convertToWKT, convexHull, coveredBy, covers, crosses, difference, disjoint, distance, ensureOrientation, fastIntersects, flip, getBounds2D, getDimension, getEnvelope, getGeneralPath, getGeometryType, getHandlers, getInteriorPoint, getInternalShape, getPathIterator, getPathIterator, getShape, getShape, getType, getValidationStatus, intersection, intersects, intersects, invokeOperation, invokeOperation, isCCW, isSimple, isValid, isWithinDistance, makeValid, move, out, overlaps, perimeter, reProject, rotate, scale, snapTo, toLines, toPoints, toPolygons, touches, transform, union, within
contains, contains, contains, contains, getBounds, intersects
compareTo
forceClose, isClosed, isClosed
forEach, iterator, spliterator
public Line2D()
public Line2D(Coordinate[] coordinates)
coordinates
- public Geometry cloneGeometry()
Geometry
cloneGeometry
in interface Geometry
public Geometry offset(double distance) throws GeometryOperationNotSupportedException, GeometryOperationException
offset
in interface Geometry
GeometryOperationNotSupportedException
GeometryOperationException