Class OperatorGeodesicBuffer

    • Constructor Detail

      • OperatorGeodesicBuffer

        OperatorGeodesicBuffer()
    • Method Detail

      • execute

        public abstract GeometryCursor execute​(GeometryCursor inputGeometries,
                                               SpatialReference sr,
                                               int curveType,
                                               double[] distancesMeters,
                                               double maxDeviationMeters,
                                               boolean bReserved,
                                               boolean bUnion,
                                               ProgressTracker progressTracker)
        Creates a geodesic buffer around the input geometries
        Parameters:
        inputGeometries - The geometries to buffer.
        sr - The Spatial_reference of the Geometries.
        curveType - The geodetic curve type of the segments. If the curve_type is Geodetic_curve::shape_preserving, then the segments are densified in the projection where they are defined before buffering.
        distancesMeters - The buffer distances in meters for the Geometries. If the size of the distances array is less than the number of geometries in the input_geometries, the last distance value is used for the rest of geometries.
        maxDeviationMeters - The deviation offset to use for convergence. The geodesic arcs of the resulting buffer will be closer than the max deviation of the true buffer. Pass in NaN to use the default deviation.
        bReserved - Must be false. Reserved for future development. Will throw an exception if not false.
        bUnion - If True, the buffered geometries will be unioned, otherwise they wont be unioned.
        progressTracker - Can be null. Allows to cancel lengthy operation.
        Returns:
        Geometry cursor over result buffers.
      • execute

        public abstract Geometry execute​(Geometry inputGeometry,
                                         SpatialReference sr,
                                         int curveType,
                                         double distanceMeters,
                                         double maxDeviationMeters,
                                         boolean bReserved,
                                         ProgressTracker progressTracker)
        Creates a geodesic buffer around the input geometry
        Parameters:
        inputGeometry - The geometry to buffer.
        sr - The Spatial_reference of the Geometry.
        curveType - The geodetic curve type of the segments. If the curve_type is Geodetic_curve::shape_preserving, then the segments are densified in the projection where they are defined before buffering.
        distanceMeters - The buffer distance in meters for the Geometry.
        maxDeviationMeters - The deviation offset to use for convergence. The geodesic arcs of the resulting buffer will be closer than the max deviation of the true buffer. Pass in NaN to use the default deviation.
        bReserved - Must be false. Reserved for future development. Will throw an exception if not false.
        progressTracker - Can be null. Allows to cancel lengthy operation.
        Returns:
        Returns result buffer.