Class ProjectionGeometryUtils


  • public class ProjectionGeometryUtils
    extends Object
    Projection Geometry Utilities
    Since:
    4.3.2
    Author:
    osbornb
    • Constructor Detail

      • ProjectionGeometryUtils

        public ProjectionGeometryUtils()
    • 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 projection
        maxDistance - max distance allowed between path points
        projection - 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 envelope
        projection - projection of the envelope
        Returns:
        geodesic expanded geometry envelope