Class GeometryStretcherView


  • public class GeometryStretcherView
    extends Object
    • Field Detail

      • NEARNESS_TOL_IN_VIEW

        public static final double NEARNESS_TOL_IN_VIEW
        The nearness tolerance in view pixels. This is chosen to be as large as possible (which minimizes change to geometries) but small enough that points which appear to be coincident on the screen at a given zoom level will be magnified.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GeometryStretcherView

        public GeometryStretcherView​(GeometryEditModel geomEditModel)
    • Method Detail

      • setStretchSize

        public void setStretchSize​(double stretchSize)
        Sets the amount by which vertices will be stretched (in geometry units).
        Parameters:
        stretchSize -
      • setNearnessTolerance

        public void setNearnessTolerance​(double nearnessTol)
      • setEnvelope

        public void setEnvelope​(Envelope maskEnv)
      • isViewPerformant

        public boolean isViewPerformant()
      • getStretchedGeometry

        public Geometry getStretchedGeometry​(int index)
      • getStretchedVertices

        public List getStretchedVertices​(int index)