Class/Object

ru.harati.scavel.d2

Vec2

Related Docs: object Vec2 | package d2

Permalink

class Vec2[T] extends Vector[T]

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Vec2
  2. Vector
  3. AttachedSpace
  4. AbstractVector
  5. Shape
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Vec2(carrier: Point2[T])(implicit arg0: Numeric[T])

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *(f: Vec2[T]): T

    Permalink

    Scalar product

    Scalar product

    Annotations
    @inline()
  4. def *(f: Double): Vec2d

    Permalink
  5. def *(f: T): Vec2[T]

    Permalink
  6. def +(c: Vec2[T]): Vec2[T]

    Permalink
  7. def -(c: Vec2[T]): Vec2[T]

    Permalink
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def angle(another: Vec2[T]): Double

    Permalink

    Angle between vectors

  10. def apply(f: Axis): Vec2[T] with AxisProjection[T]

    Permalink

    Project vector to axis

  11. def apply(f: Vec2[T]): Vec2d

    Permalink

    Project this vector to vector @f

  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. val carrier: Point2[T]

    Permalink

    Coordinates of vector

    Coordinates of vector

    Definition Classes
    Vec2VectorAbstractVector
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def contains(f: AbstractPoint): Boolean

    Permalink

    Contains given point, border excluded

    Contains given point, border excluded

    Definition Classes
    VectorShape
  16. def dimension: Int

    Permalink

    Real dimension of object

    Real dimension of object

    Definition Classes
    VectorShape
    Annotations
    @inline()
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(obj: Any): Boolean

    Permalink
    Definition Classes
    Vector → AnyRef → Any
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Permalink
    Definition Classes
    Vector → AnyRef → Any
  22. def is(f: (T) ⇒ Boolean): Boolean

    Permalink

    If all vector component satisfy predicate

    If all vector component satisfy predicate

    Definition Classes
    Vector
    Annotations
    @inline()
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. def isUnit: Boolean

    Permalink

    Check if this vector ort

    Check if this vector ort

    Definition Classes
    Vector
    Annotations
    @inline()
  25. def isZero: Boolean

    Permalink

    Check if vector zero

    Check if vector zero

    Definition Classes
    Vector
    Annotations
    @inline()
  26. def length: Double

    Permalink

    Length of current vector

    Length of current vector

    Definition Classes
    Vec2AbstractVector
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. def space: Numeric[T]

    Permalink
    Attributes
    protected
    Definition Classes
    VectorAttachedSpace
  31. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    Vec2 → AnyRef → Any
  33. def unary_-(): Vec2[T]

    Permalink

    Reverse this vector

    Reverse this vector

    Definition Classes
    Vec2Vector
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def x: T

    Permalink
    Annotations
    @inline()
  38. def y: T

    Permalink
    Annotations
    @inline()

Inherited from Vector[T]

Inherited from AttachedSpace[T]

Inherited from AbstractVector

Inherited from Shape

Inherited from AnyRef

Inherited from Any

Ungrouped