| Modifier and Type | Method and Description |
|---|---|
void |
addVertex(Point point)
Add a vertex to the end of this line string.4
|
java.util.List<Line> |
asLines()
Return a representation as a list of lines
|
double |
getDynamicTimeWarpingDistance(LineString otherLineString,
LengthUnit units)
Get the fretchet distance from the other line string
|
double |
getFretchetDistance(LineString otherLineString,
LengthUnit units)
Get the fretchet distance from the other line string
|
int |
getNumberOfVertices() |
java.util.List<Point> |
getVertices() |
boolean |
isSelfIntersecting() |
void |
setVertices(java.util.List<Point> vertices)
Set the vertices of this line string to the given list of vertices.
|
clone, contains, equals, getArea, getArea, getBoundingBox, getContained, getContainers, getCoordinateReferenceSystem, getDistance, getHeading, getKNearestNeighbors, getNearestNeighbor, getReferencePoint, getSqrDistance, getWithinDistance, intersects, setHeading, setReferencePoint, toString, toStringgetGeometryboolean isSelfIntersecting()
int getNumberOfVertices()
java.util.List<Point> getVertices()
void setVertices(java.util.List<Point> vertices)
vertices - void addVertex(Point point)
point - to be addeddouble getFretchetDistance(LineString otherLineString, LengthUnit units)
otherLineString - double getDynamicTimeWarpingDistance(LineString otherLineString, LengthUnit units)
otherLineString - java.util.List<Line> asLines()
© Copyright IBM 2017