public class LineString extends Curve
| Modifier | Constructor and Description |
|---|---|
|
LineString()
Constructor
|
|
LineString(boolean hasZ,
boolean hasM)
Constructor
|
protected |
LineString(GeometryType type,
boolean hasZ,
boolean hasM)
Constructor
|
|
LineString(LineString lineString)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(Point point)
Add a point
|
Geometry |
copy()
Copy the geometry
|
boolean |
equals(Object obj) |
List<Point> |
getPoints()
Get the points
|
int |
hashCode() |
int |
numPoints()
Get the number of points
|
void |
setPoints(List<Point> points)
Set the points
|
getGeometryType, getWkbCode, hasM, hasZpublic LineString()
public LineString(boolean hasZ,
boolean hasM)
hasZ - has zhasM - has mpublic LineString(LineString lineString)
lineString - line string to copyprotected LineString(GeometryType type, boolean hasZ, boolean hasM)
type - geometry typehasZ - has zhasM - has mCopyright © 2018 National Geospatial-Intelligence Agency. All rights reserved.