Point

object Point
Companion
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

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
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

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

Concrete fields

val zero: Point