Class RectangleClipPolygon


  • public class RectangleClipPolygon
    extends java.lang.Object
    Clips polygonal geometry to a rectangle. This implementation is faster, more robust, and less sensitive to invalid input than Geometry.intersection(Geometry). It can also enforce a supplied precision model on the computed result. The inputs do not have to meet the precision model. This allows clipping using integer coordinates in the output, for example.
    Author:
    mdavis