AnyLogic
Expand
Font size

@AnyLogicInternalAPI
public class GISGeneralizationUtils
extends Object
This class is internal and shouldn't be called by user.
it may be removed/renamed in future.
Author:
AnyLogic North America, LLC https://anylogic.com

Constructor Summary

ConstructorDescription
GISGeneralizationUtils() 

Method Summary

Modifier and TypeMethodDescription
static double[]get3PointBasedRegion(double[] doubleArray) 
static doublegetDisplayPPM()
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(double[] points, double precisionInMeters, List<Integer> oldIndexes)
Attention! This method may damage contents of the given points array.

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

GISGeneralizationUtils

public GISGeneralizationUtils()

Method Details

getDisplayPPM

@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 null)
Parameters:
projection - instance of com_bbn_openmap_proj_Projection
Returns:
pixels per meter for given projection

getSimplifiedPointList

@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:

get3PointBasedRegion

@AnyLogicInternalAPI
public static double[] get3PointBasedRegion(double[] doubleArray)