Packages

c

it.unibo.scafi.space.pimp

PimpPoint3D

implicit class PimpPoint3D extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PimpPoint3D
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PimpPoint3D(p: Point3D)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. 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.

  4. 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.

  5. 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.

  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def angle: Double

    Computes the angle of the point.

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  10. 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.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def module: Double

    Computes the module of the point.

    Computes the module of the point.

    returns

    the module of the point.

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. 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.

  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  21. def perpendicular: Point3D

    Computes the perpendicular vector to the point.

    Computes the perpendicular vector to the point.

    returns

    the perpendicular vector to the point.

  22. 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.

  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. 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.

  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped