Polar

final case class Polar(r: Double, angle: Angle) extends Point
class Point
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def x: Double
def y: Double

Inherited methods

def +(vec: Vec): Point
Inherited from
Point
def -(that: Point): Vec
Inherited from
Point
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.

Inherited from
Point
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def rotate(angle: Angle): Point
Inherited from
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.

Inherited from
Point
Inherited from
Point
Inherited from
Point
def toVec: Vec
Inherited from
Point