GridPoint

inner class GridPoint(val x: Double, val y: Double, aName: String? = null) : SpatialModel.AbstractLocation(source)

Represents a location within this spatial model.

Parameters

aName

the name of the location, will be assigned based on ID_id if null

Constructors

Link copied to clipboard
constructor(x: Double, y: Double, aName: String? = null)

Properties

Link copied to clipboard
open override val spatialModel: SpatialModel
Link copied to clipboard
open override val x: Double

The Cartesian x-coordinate of this location, used by the animation system and any coordinate-based rendering. Defaults to Double.NaN for non-Cartesian spatial models (distance-, network-, or great-circle-based) that have no planar coordinate; Cartesian location types (e.g. Euclidean2DPlane.Point) override it.

Link copied to clipboard
open override val y: Double

The Cartesian y-coordinate of this location; see x. Defaults to Double.NaN.

Functions

Link copied to clipboard
open override fun toString(): String