public class LocatePoint extends Object
Constructor and Description |
---|
LocatePoint(org.locationtech.jts.geom.LineString line,
double distance) |
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Returns the index of the segment containing the computed point
|
org.locationtech.jts.geom.Coordinate |
getPoint() |
static org.locationtech.jts.geom.Coordinate |
pointAlongLine(org.locationtech.jts.geom.LineString line,
double distance) |
static org.locationtech.jts.geom.Coordinate |
pointAlongSegment(org.locationtech.jts.geom.Coordinate p0,
org.locationtech.jts.geom.Coordinate p1,
double distance) |
public LocatePoint(org.locationtech.jts.geom.LineString line, double distance)
public static org.locationtech.jts.geom.Coordinate pointAlongSegment(org.locationtech.jts.geom.Coordinate p0, org.locationtech.jts.geom.Coordinate p1, double distance)
public static org.locationtech.jts.geom.Coordinate pointAlongLine(org.locationtech.jts.geom.LineString line, double distance)
public org.locationtech.jts.geom.Coordinate getPoint()
public int getIndex()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.