Class GISEditorUtilities

java.lang.Object
repast.simphony.visualization.editor.gis.GISEditorUtilities

public class GISEditorUtilities extends Object
Deprecated.
2D piccolo based code is being removed
Utility methods for GIS editor classes.
Author:
Nick Collier
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    calcPointPickBuffer(org.locationtech.jts.geom.Coordinate coordinate, org.opengis.referencing.crs.CoordinateReferenceSystem crs, double metersPerPixel)
    Deprecated.
    Calculates the buffer value to supply to Point.buffer() that will approximate an 8x8 pixel area.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GISEditorUtilities

      public GISEditorUtilities()
      Deprecated.
  • Method Details

    • calcPointPickBuffer

      public static double calcPointPickBuffer(org.locationtech.jts.geom.Coordinate coordinate, org.opengis.referencing.crs.CoordinateReferenceSystem crs, double metersPerPixel)
      Deprecated.
      Calculates the buffer value to supply to Point.buffer() that will approximate an 8x8 pixel area.
      Parameters:
      coordinate - the picked coordinate
      crs - the current CRS
      metersPerPixel - the number of meters per pixel
      Returns:
      the buffer value to supply to Point.buffer() that will approximate an 8x8 pixel area.