Class RectangleClipPolygon
java.lang.Object
org.locationtech.jtslab.clip.RectangleClipPolygon
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
-
Constructor Summary
ConstructorsConstructorDescriptionRectangleClipPolygon(Envelope clipEnv) RectangleClipPolygon(Envelope clipEnv, PrecisionModel pm) RectangleClipPolygon(Geometry clipRectangle) RectangleClipPolygon(Geometry clipRectangle, PrecisionModel pm) -
Method Summary
-
Constructor Details
-
RectangleClipPolygon
-
RectangleClipPolygon
-
RectangleClipPolygon
-
RectangleClipPolygon
-
-
Method Details
-
clip
-
clip
-
clip
-
clipCollection
-