Package com.anylogic.engine
- java.lang.Object
- com.anylogic.engine.GISGeneralizationUtils
@AnyLogicInternalAPI public class GISGeneralizationUtils extends Object
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
- Author:
- AnyLogic North America, LLC https://anylogic.com
Constructor | Description |
---|---|
GISGeneralizationUtils() |
Modifier and Type | Method | Description |
---|---|---|
static double[] | get3PointBasedRegion | |
static double | getDisplayPPM() |
This method is not designed to be called by user
Returns 'screen' pixels per 'display' meter for given projection (may be null ) |
static double[] | getSimplifiedPointList |
Attention! This method may damage contents of the given
points array. |
public GISGeneralizationUtils()
@AnyLogicInternalAPI public static double getDisplayPPM()
This method is not designed to be called by user
Returns 'screen' pixels per 'display' meter for given projection (may be
Returns 'screen' pixels per 'display' meter for given projection (may be
null
)- Parameters:
projection
- instance of com_bbn_openmap_proj_Projection- Returns:
- pixels per meter for given projection
@AnyLogicInternalAPI public static double[] getSimplifiedPointList(double[] points, double precisionInMeters, List<Integer> oldIndexes)
Attention! This method may damage contents of the given
points
array.- Parameters:
points
- initial points to simplify, contents may be damaged as a result of this method call.precisionInMeters
-oldIndexes
-- Returns:
@AnyLogicInternalAPI public static double[] get3PointBasedRegion(double[] doubleArray)