Package mil.nga.sf.proj
Class ProjectionGeometryUtils
- java.lang.Object
-
- mil.nga.sf.proj.ProjectionGeometryUtils
-
public class ProjectionGeometryUtils extends Object
Projection Geometry Utilities- Since:
- 4.3.2
- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description ProjectionGeometryUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeometryEnvelope
geodesicEnvelope(GeometryEnvelope envelope, Projection projection)
Expand the vertical bounds of a geometry envelope in the projection by including geodesic boundsstatic List<Point>
geodesicPath(List<Point> points, double maxDistance, Projection projection)
Create a geodesic path of a points in the projection with a max distance between any two path points
-
-
-
Method Detail
-
geodesicPath
public static List<Point> geodesicPath(List<Point> points, double maxDistance, Projection projection)
Create a geodesic path of a points in the projection with a max distance between any two path points- Parameters:
points
- points in the projectionmaxDistance
- max distance allowed between path pointsprojection
- projection of the points- Returns:
- geodesic path of points
-
geodesicEnvelope
public static GeometryEnvelope geodesicEnvelope(GeometryEnvelope envelope, Projection projection)
Expand the vertical bounds of a geometry envelope in the projection by including geodesic bounds- Parameters:
envelope
- geometry envelopeprojection
- projection of the envelope- Returns:
- geodesic expanded geometry envelope
-
-