Point

class Point<P : Position<out P>>(environment: Environment<*, P>, x: Double, y: Double) : Deployment<P> (source)

A single node in a single point.

Parameters

environment
x

x coordinate

y

y coordinate

Type Parameters

P

position type

Constructors

Link copied to clipboard
constructor(environment: Environment<*, P>, x: Double, y: Double)
constructor(environment: Environment<*, P>, x: Int, y: Int)

Builds a new deployment of a single point at integer coordinates (x, y) of the environment.

constructor(environment: Environment<*, P>, x: Double, y: Int)

Builds a new deployment of a single point at coordinates (x, y) of the environment.

constructor(environment: Environment<*, P>, x: Int, y: Double)

Builds a new deployment of a single point at coordinates (x, y) of the environment.

Functions

Link copied to clipboard

Returns the optional NetworkModel associated to the deployment, or null if there is none.

Link copied to clipboard
open operator override fun iterator(): Iterator<P>
Link copied to clipboard
open override fun stream(): Stream<P>

Returns a Stream over the positions of this Deployment.