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