Spatial

scalation.database.Spatial
trait Spatial(val pos: VectorD) extends PartiallyOrdered[Spatial]

The Spatial trait provides spatial coordinates that are spatially partially ordered.

Value parameters

pos

the spatial Euclidean coordinate vector for the spatial object

Attributes

Graph
Supertypes
trait PartiallyOrdered[Spatial]
class Object
trait Matchable
class Any
Known subtypes
class Edge
class Link
class Transport
class Vertex
class Junction
class Resource
class Sink
class WaitQueue
class SimAgent
class Customer
class Reporter
class Call
class Car
class Car
class Bus
class Gate
class Source
Show all

Members list

Type members

Inherited types

type AsPartiallyOrdered = Function1

Attributes

Inherited from:
PartiallyOrdered

Value members

Concrete methods

def s_rescale(factor: Double): VectorD

Rescale from actual-position (e.g., world-coordinates) to animation-position (screen-coordinates).

Rescale from actual-position (e.g., world-coordinates) to animation-position (screen-coordinates).

Value parameters

factor

the space rescaling factor

Attributes

override def toString: String

Convert the spatial object to a string.

Convert the spatial object to a string.

Attributes

Definition Classes
Any
def tryCompareTo[B >: Spatial : AsPartiallyOrdered](other: B): Option[Int]

Compare two spatial objects based on their space coordinates.

Compare two spatial objects based on their space coordinates.

Value parameters

other

the other item to compare with this item

Attributes

Inherited methods

def <[B >: Spatial : AsPartiallyOrdered](that: B): Boolean

Attributes

Inherited from:
PartiallyOrdered
def <=[B >: Spatial : AsPartiallyOrdered](that: B): Boolean

Attributes

Inherited from:
PartiallyOrdered
def >[B >: Spatial : AsPartiallyOrdered](that: B): Boolean

Attributes

Inherited from:
PartiallyOrdered
def >=[B >: Spatial : AsPartiallyOrdered](that: B): Boolean

Attributes

Inherited from:
PartiallyOrdered

Concrete fields

val pos: VectorD