public class Line extends LineString
| Constructor and Description |
|---|
Line()
Constructor
|
Line(boolean hasZ,
boolean hasM)
Constructor
|
Line(Line line)
Copy Constructor
|
Line(List<Point> points)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Geometry |
copy()
Copy the geometry
|
void |
setPoints(List<Point> points)
Set the points
|
addPoint, addPoints, endPoint, equals, getPoint, getPoints, hashCode, isEmpty, isSimple, numPoints, startPointgetCentroid, getDimension, getEnvelope, getGeometryType, hasM, hasZ, is3D, isMeasuredpublic Line()
public Line(boolean hasZ,
boolean hasM)
hasZ - has zhasM - has mpublic Line(Line line)
line - line to copypublic void setPoints(List<Point> points)
setPoints in class LineStringpoints - pointspublic Geometry copy()
copy in class LineStringCopyright © 2019 National Geospatial-Intelligence Agency. All rights reserved.