public class LineString extends Curve
| Modifier | Constructor and Description |
|---|---|
|
LineString(boolean hasZ,
boolean hasM)
Constructor
|
protected |
LineString(GeometryType type,
boolean hasZ,
boolean hasM)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(Point point)
Add a point
|
List<Point> |
getPoints()
Get the points
|
int |
numPoints()
Get the number of points
|
void |
setPoints(List<Point> points)
Set the points
|
getGeometryType, getWkbCode, hasM, hasZpublic LineString(boolean hasZ,
boolean hasM)
hasZ - has zhasM - has mprotected LineString(GeometryType type, boolean hasZ, boolean hasM)
type - geometry typehasZ - has zhasM - has mpublic void addPoint(Point point)
point - pointpublic int numPoints()
Copyright © 2015 National Geospatial-Intelligence Agency. All rights reserved.