Class GeometryEnvelopeBuilder


  • public class GeometryEnvelopeBuilder
    extends Object
    Builds an envelope from a Geometry
    Author:
    osbornb
    • Constructor Detail

      • GeometryEnvelopeBuilder

        public GeometryEnvelopeBuilder()
    • Method Detail

      • buildEnvelope

        public static GeometryEnvelope buildEnvelope​(Geometry geometry)
        Build Geometry Envelope
        Parameters:
        geometry - geometry to build envelope from
        Returns:
        geometry envelope
      • buildEnvelope

        public static void buildEnvelope​(Geometry geometry,
                                         GeometryEnvelope envelope)
        Build Geometry Envelope
        Parameters:
        geometry - geometry to build envelope from
        envelope - geometry envelope to expand
      • buildGeometry

        public static Geometry buildGeometry​(GeometryEnvelope envelope)
        Build a geometry representation of the geometry envelope
        Parameters:
        envelope - geometry envelope
        Returns:
        geometry, polygon or point
        Since:
        2.0.5