Cartesian

doodle.core.Point$.Cartesian
final case class Cartesian(x: Double, y: Double) extends Point

Attributes

Source:
Point.scala
Graph
Supertypes
class Point
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Attributes

Source:
Point.scala
def r: Double

Attributes

Source:
Point.scala

Inherited methods

def +(vec: Vec): Point

Attributes

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

Attributes

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.

Attributes

Inherited from:
Point
Source:
Point.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
def rotate(angle: Angle): Point

Attributes

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.

Attributes

Inherited from:
Point
Source:
Point.scala

Attributes

Inherited from:
Point
Source:
Point.scala

Attributes

Inherited from:
Point
Source:
Point.scala
def toVec: Vec

Attributes

Inherited from:
Point
Source:
Point.scala