Point

object Point
Companion:
class
Source:
Point.scala
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Point.type

Type members

Classlikes

final case class Cartesian(x: Double, y: Double) extends Point
final case class Polar(r: Double, angle: Angle) extends Point
object extractors

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

def apply(x: Double, y: Double): Point
def apply(r: Double, angle: Angle): Point
def polar(r: Double, angle: Angle): Point

Concrete fields