Class TopologyStretcher


  • public class TopologyStretcher
    extends Object
    Stretches the vertices and segments of a @link Geometry} to make the topology more visible.
    Author:
    Martin Davis
    • Constructor Detail

      • TopologyStretcher

        public TopologyStretcher​(Geometry g)
    • Method Detail

      • numVerticesInMask

        public int numVerticesInMask​(Envelope mask)
      • stretch

        public Geometry[] stretch​(double nearnessTol,
                                  double stretchDistance)
      • stretch

        public Geometry[] stretch​(double nearnessTol,
                                  double stretchDistance,
                                  Envelope mask)
      • getModifiedCoordinates

        public List[] getModifiedCoordinates()
        Gets the Coordinates in each stretched geometry which were modified (if any).
        Returns:
        lists of Coordinates, one for each input geometry