Point
inner class Point(val x: Double, val y: Double, aName: String? = null) : SpatialModel.AbstractLocation
Represents a location within this spatial model.
Parameters
a Name
the name of the location, will be assigned based on ID_id if null
Constructors
Functions
Link copied to clipboard
Computes the distance between the current location and location based on the spatial model's distance metric
Link copied to clipboard
Returns true if location is the same as this location within the underlying spatial model. This is not object reference equality, but rather whether the locations within the underlying spatial model can be considered spatially (equivalent) according to the model.