Pos

smile.modeling.Pos
See thePos companion class
object Pos

This companion object of class `Pos` provides alternative methods for creating new Pos objects.

On the JVM, smile.modeling adds Pos(point) for a java.awt.Point as an extension on this object. import smile.modeling.* brings it into scope.

Attributes

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

Members list

Type members

Inherited and Abstract types

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

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

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

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

Attributes

Source
Pos.scala

Concrete fields

val Origin: Pos

The origin (0,0) of the coordinate system as a Pos instance.

The origin (0,0) of the coordinate system as a Pos instance.

Attributes

Source
Pos.scala

Givens

Givens

Attributes

Source
Pos.scala