Class GISEditorUtilities
java.lang.Object
repast.simphony.visualization.editor.gis.GISEditorUtilities
Deprecated.
2D piccolo based code is being removed
Utility methods for GIS editor classes.
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
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 coordinatecrs
- the current CRSmetersPerPixel
- the number of meters per pixel- Returns:
- the buffer value to supply to Point.buffer() that will approximate an 8x8 pixel area.
-