final case class Polar(r: Double, angle: Angle) extends Point with Product with Serializable
- Source
- Point.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Polar
- Point
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(vec: Vec): Point
- Definition Classes
- Point
- def -(that: Point): Vec
- Definition Classes
- Point
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val angle: Angle
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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.
- Definition Classes
- Point
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val r: Double
- def rotate(angle: Angle): Point
- Definition Classes
- 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.
- Definition Classes
- Point
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toCartesian: Cartesian
- Definition Classes
- Point
- def toPolar: Polar
- Definition Classes
- Point
- def toVec: Vec
- Definition Classes
- Point
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def x: Double
- def y: Double