Class GISEditorUtilities
- java.lang.Object
-
- repast.simphony.visualization.editor.gis.GISEditorUtilities
-
public class GISEditorUtilities extends Object
Deprecated.2D piccolo based code is being removedUtility methods for GIS editor classes.- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description GISEditorUtilities()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods 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.
-
-
-
Method Detail
-
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.
-
-