Pos

o1.world.Pos$
See thePos companion class
object Pos

This companion object of class Pos provides alternative methods for creating new Pos objects. It has an alias in the top-level package o1, so it’s accessible to students simply via import o1._.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Pos.type

Members list

Type members

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

inline def apply(xyPair: (Double, Double)): Pos

Constructs a Pos instance from the given pair of x and y coordinates.

Constructs a Pos instance from the given pair of x and y coordinates.

Attributes

inline def apply(point: Point): Pos

Constructs a Pos instance from the coordinates of the given Point object.

Constructs a Pos instance from the coordinates of the given Point object.

Attributes

Givens

Givens