Class OpenJUMPUtils

java.lang.Object
org.gvsig.fmap.geom.jts.util.OpenJUMPUtils

public class OpenJUMPUtils extends Object
Based on portions of code from OpenJump
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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: