Object

com.github.tsingjyujing.geo.util.mathematical

VectorUtil

Related Doc: package mathematical

Permalink

object VectorUtil

Common methods of vectors

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. def linearInterpolation2(v1: IVector2, v2: IVector2, ratios: TraversableOnce[Double]): TraversableOnce[Vector2]

    Permalink

    Interp vector2 with multi ratios

    Interp vector2 with multi ratios

    v1

    vector 1

    v2

    vector 2

    ratios

    commonly should in range(0,1.0)

  12. def linearInterpolation2(v1: IVector2, v2: IVector2, ratio: Double): Vector2

    Permalink

    Interp vector2

    Interp vector2

    v1

    vector 1

    v2

    vector 2

    ratio

    commonly should in range(0,1.0)

  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def norm2Vector(vec: Array[Double], normLen: Double = 1.0): Array[Double]

    Permalink

    Get norm of an N-dimension vector described by Array[Double]

  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  17. def outerProduct(v1: Array[Double], v2: Array[Double]): Array[Double]

    Permalink

    Get out product result of Vector3

  18. def sphereInterp(v1: IVector3, v2: IVector3, angleToV1Values: TraversableOnce[Double]): TraversableOnce[IVector3]

    Permalink

    v1

    Vector 1

    v2

    Vector 2

    angleToV1Values

    angles to Vector 1

  19. def sphereInterp(v1: IVector3, v2: IVector3, angleToV1: Double): IVector3

    Permalink

    see visualize/solve_rotate_equation.m for implementation

    see visualize/solve_rotate_equation.m for implementation

    v1

    Vector 1

    v2

    Vector 2

    angleToV1

    angle to Vector 1

  20. def sphereInterpFast(v1: IVector3, v2: IVector3, angleToV1Values: TraversableOnce[Double]): TraversableOnce[IVector3]

    Permalink

    Interp value

    Interp value

    v1

    Vector 1

    v2

    Vector 2

    angleToV1Values

    angles to Vector 1

    Annotations
    @BeCarefulWhileUsing( message = ... )
  21. def sphereInterpFast(v1: IVector3, v2: IVector3, angleToV1: Double): IVector3

    Permalink

    see visualize/solve_rotate_equation.m for implementation

    see visualize/solve_rotate_equation.m for implementation

    v1

    Vector 1

    v2

    Vector 2

    angleToV1

    angle to Vector 1

    Annotations
    @BeCarefulWhileUsing( message = ... )
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped