implicit class PimpPoint3D extends AnyRef
- Alphabetic
- By Inheritance
- PimpPoint3D
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PimpPoint3D(p: Point3D)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def *(alpha: Double): Point3D
Multiplies the point by a scalar.
Multiplies the point by a scalar.
- alpha
the scalar to multiply the point by.
- returns
the point multiplied by the scalar.
- def -(p2: Point3D): Point3D
Computes the difference between two points.
Computes the difference between two points.
- p2
the point to subtract.
- returns
the difference between the two points.
- def /(alpha: Double): Point3D
Divides the point by a scalar.
Divides the point by a scalar.
- alpha
the scalar to divide the point by.
- returns
the point divided by the scalar.
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def angle: Double
Computes the angle of the point.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def crossProduct(other: Point3D): Point3D
Computes the cross product between two points, that is the vector orthogonal to the plane defined by the two
Computes the cross product between two points, that is the vector orthogonal to the plane defined by the two
- other
the other point.
- returns
the cross product between the two points.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def module: Double
Computes the module of the point.
Computes the module of the point.
- returns
the module of the point.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def normalize: Point3D
Normalizes the point, that is, it divides the point by its module.
Normalizes the point, that is, it divides the point by its module.
- returns
the normalized point.
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def perpendicular: Point3D
Computes the perpendicular vector to the point.
Computes the perpendicular vector to the point.
- returns
the perpendicular vector to the point.
- def rotate(radiant: Double): Point3D
Rotates the point by a given radiant.
Rotates the point by a given radiant.
- radiant
the radiant to rotate the point by.
- returns
the rotated point.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unary_-: Point3D
Negates the point, that is, it returns the point with the opposite direction.
Negates the point, that is, it returns the point with the opposite direction.
- returns
the negated point.
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)