|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.n52.oxf.conversion.gml32.util.GeodesicApproximationTools
public class GeodesicApproximationTools
Helper class provides geodesic approximation methods.
E.g. approximate a Great Circle to a LineString representation (the
algorithm uses the intermediate point calculation documented at
http://williams.best.vwh.net/avform.htm#Intermediate
).
Constructor Summary | |
---|---|
GeodesicApproximationTools()
|
Method Summary | |
---|---|
static com.vividsolutions.jts.geom.LineString |
approximateGreatCircle(com.vividsolutions.jts.geom.Coordinate start,
com.vividsolutions.jts.geom.Coordinate end,
double segmentLength)
Approximates a Great Circle on the earth using start and end coordinates and the estimate target segment length |
static com.vividsolutions.jts.geom.LineString |
approximateGreatCircle(int segmentsPerHalf,
com.vividsolutions.jts.geom.Coordinate start,
com.vividsolutions.jts.geom.Coordinate end)
Approximates a Great Circle on the earth using start and end coordinates and the number of segments per half of the target circle. |
static com.vividsolutions.jts.geom.LineString |
approximateRhumbline(com.vividsolutions.jts.geom.Coordinate start,
com.vividsolutions.jts.geom.Coordinate end,
double segmentLength)
Approximates a Rhumbline on the earth using start and end coordinates and the estimate target segment length |
static com.vividsolutions.jts.geom.LineString |
approximateRhumbline(int segmentsPerHalf,
com.vividsolutions.jts.geom.Coordinate start,
com.vividsolutions.jts.geom.Coordinate end)
Approximates a Rhumbline on the earth using start and end coordinates and the number of segments per half of the target circle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeodesicApproximationTools()
Method Detail |
---|
public static com.vividsolutions.jts.geom.LineString approximateGreatCircle(com.vividsolutions.jts.geom.Coordinate start, com.vividsolutions.jts.geom.Coordinate end, double segmentLength)
public static com.vividsolutions.jts.geom.LineString approximateGreatCircle(int segmentsPerHalf, com.vividsolutions.jts.geom.Coordinate start, com.vividsolutions.jts.geom.Coordinate end)
public static com.vividsolutions.jts.geom.LineString approximateRhumbline(com.vividsolutions.jts.geom.Coordinate start, com.vividsolutions.jts.geom.Coordinate end, double segmentLength)
public static com.vividsolutions.jts.geom.LineString approximateRhumbline(int segmentsPerHalf, com.vividsolutions.jts.geom.Coordinate start, com.vividsolutions.jts.geom.Coordinate end)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |