Cartesian

final case class Cartesian(x: Double, y: Double) extends Point
class Point
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def r: Double

Inherited methods

def +(vec: Vec): Point
Inherited from:
Point
Source:
Point.scala
def -(that: Point): Vec
Inherited from:
Point
Source:
Point.scala

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
Source:
Point.scala
Inherited from:
Product
def rotate(angle: Angle): Point
Inherited from:
Point
Source:
Point.scala
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
Source:
Point.scala
Inherited from:
Point
Source:
Point.scala
Inherited from:
Point
Source:
Point.scala
def toVec: Vec
Inherited from:
Point
Source:
Point.scala