Class BufferByUnionFunctions
- java.lang.Object
-
- org.locationtech.jtstest.function.BufferByUnionFunctions
-
public class BufferByUnionFunctions extends Object
-
-
Constructor Summary
Constructors Constructor Description BufferByUnionFunctions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeometrybufferByComponents(Geometry g, double distance)static GeometrybufferBySections(Geometry g, double distance, int maxChainSize)static GeometrybufferBySegments(Geometry g, double distance)Buffer polygons by buffering the individual boundary segments and either unioning or differencing them.static GeometrycomponentBuffers(Geometry g, double distance)static GeometrysectionBuffers(Geometry g, double distance, int maxChainSize)
-
-
-
Method Detail
-
bufferBySegments
public static Geometry bufferBySegments(Geometry g, double distance)
Buffer polygons by buffering the individual boundary segments and either unioning or differencing them.- Parameters:
g-distance-- Returns:
- the buffer geometry
-
bufferBySections
public static Geometry bufferBySections(Geometry g, double distance, int maxChainSize)
-
-