Point

doodle.core.Point
See thePoint companion object
sealed abstract class Point extends Product with Serializable

Attributes

Companion:
object
Source:
Point.scala
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
Known subtypes
class Cartesian
class Polar

Members list

Concise view

Value members

Abstract methods

Attributes

Source:
Point.scala
def r: Double

Attributes

Source:
Point.scala
def x: Double

Attributes

Source:
Point.scala
def y: Double

Attributes

Source:
Point.scala

Concrete methods

def +(vec: Vec): Point

Attributes

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

Attributes

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

Source:
Point.scala
def rotate(angle: Angle): Point

Attributes

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

Source:
Point.scala

Attributes

Source:
Point.scala

Attributes

Source:
Point.scala
def toVec: Vec

Attributes

Source:
Point.scala

Inherited methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product