Point

sealed abstract class Point extends Product with Serializable
Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
class Cartesian
class Polar

Value members

Abstract methods

def angle: Angle
def r: Double
def x: Double
def y: Double

Concrete methods

def +(vec: Vec): Point
def -(that: Point): Vec
def lengthen(r: Double): Point

Scale the length of this point by adding its length (radius, in polar form) to the given factor.

Scale the length of this point by adding its length (radius, in polar form) to the given factor.

def rotate(angle: Angle): Point
def scaleLength(factor: Double): Point

Scale the length of this point by multiplying its length (radius, in polar form) by the given factor.

Scale the length of this point by multiplying its length (radius, in polar form) by the given factor.

def toVec: Vec

Inherited methods

def canEqual(that: Any): Boolean
Inherited from
Equals
def productArity: Int
Inherited from
Product
def productElement(n: Int): Any
Inherited from
Product
def productElementName(n: Int): String
Inherited from
Product
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def productPrefix: String
Inherited from
Product