Class OperatorBoundary

    • Constructor Detail

      • OperatorBoundary

        public OperatorBoundary()
    • Method Detail

      • execute

        public abstract GeometryCursor execute​(GeometryCursor geoms,
                                               ProgressTracker progress_tracker)
        Calculates the boundary geometry.
        Parameters:
        geoms - The input geometry cursor.
        progress_tracker - The progress tracker, that allows to cancel the lengthy operation.
        Returns:
        Returns a cursor over boundaries for each geometry.
      • execute

        public abstract Geometry execute​(Geometry geom,
                                         ProgressTracker progress_tracker)
        Calculates the boundary.
        Parameters:
        geom - The input geometry.
        progress_tracker - The progress tracker, that allows to cancel the lengthy operation.
        Returns:
        Returns the boundary. For Point - returns an empty point. For Multi_point - returns an empty point. For Envelope - returns a polyline, that bounds the envelope. For Polyline - returns a multipoint, using OGC specification (includes path endpoints, using mod 2 rule). For Polygon - returns a polyline that bounds the polygon (adds all rings of the polygon to a polyline).