Package org.gvsig.fmap.geom.jts.util
Class OpenJUMPUtils
java.lang.Object
org.gvsig.fmap.geom.jts.util.OpenJUMPUtils
Based on portions of code from OpenJump
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.gvsig.fmap.geom.GeometryoffsetCleanOpenLine(org.gvsig.crs.projection.lib.Projection proj, ArrayListCoordinateSequence coordinates, double distance) Creates a offset of a open line at a distance by removing segments that do not match the limit of the buffer.static org.gvsig.fmap.geom.GeometryoffsetCleanOpenLine(org.gvsig.crs.projection.lib.Projection proj, ArrayListCoordinateSequence coordinates, com.vividsolutions.jts.operation.buffer.BufferParameters bufParams, double distance) Creates a offset of a open line at a distance by removing segments that do not match the limit of the buffer.
-
Constructor Details
-
OpenJUMPUtils
public OpenJUMPUtils()
-
-
Method Details
-
offsetCleanOpenLine
public static org.gvsig.fmap.geom.Geometry offsetCleanOpenLine(org.gvsig.crs.projection.lib.Projection proj, ArrayListCoordinateSequence coordinates, double distance) Creates a offset of a open line at a distance by removing segments that do not match the limit of the buffer.- Parameters:
proj-coordinates-distance-- Returns:
-
offsetCleanOpenLine
public static org.gvsig.fmap.geom.Geometry offsetCleanOpenLine(org.gvsig.crs.projection.lib.Projection proj, ArrayListCoordinateSequence coordinates, com.vividsolutions.jts.operation.buffer.BufferParameters bufParams, double distance) Creates a offset of a open line at a distance by removing segments that do not match the limit of the buffer.- Parameters:
proj-coordinates-bufParams-distance-- Returns:
-