case class V2(v: RealVector) extends Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- V2
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new V2(v: RealVector)
Value Members
- def *(s: Double): V2
- def +(that: Coordinate): Coordinate
- def +(that: V2): V2
- def -(that: V2): V2
- def dot(that: V2): Double
- def length(): Double
- def normalize(): V2
- def rot90CCW(): V2
- def rot90CW(): V2
- def toCoord(): Coordinate
-
def
toString(): String
- Definition Classes
- V2 → AnyRef → Any
- val v: RealVector
- def x(): Double
- def y(): Double