Point

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

Value members

Abstract methods

def r: Double
def x: Double
def y: Double

Concrete methods

def +(vec: Vec): Point
def -(that: Point): Vec

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.

Source:
Point.scala
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.

Source:
Point.scala
def toVec: Vec

Inherited methods

def canEqual(that: Any): Boolean
Inherited from:
Equals
Inherited from:
Product
def productElement(n: Int): Any
Inherited from:
Product
Inherited from:
Product
Inherited from:
Product
Inherited from:
Product