Root trait for representing Vectors
Root trait for representing Vectors
- Type Params
- A
Type for the Vector's coordinate values
- Authors
garyKeorkunian
- Since
0.3.0
- Companion
- object
Type members
Types
Value members
Abstract methods
The angle between the two Cartesian coordinates at the supplied indices
The angle between the two Cartesian coordinates at the supplied indices
- Value Params
- coordinateX
index of the abscissa coordinate (defaults to 0)
- coordinateY
index of the ordinate coordinate (defaults to 1)
- unit
unit for the angle (theta) component (defaults to Radians)
- Returns
Angle
The list of values that makeup the Vector's Cartesian coordinates
The list of values that makeup the Vector's Cartesian coordinates
Create the Cross Product of two Vectors
Create the Cross Product of two Vectors
- Value Params
- that
Vector[A]
Concrete methods
The polar coordinates (r, theta) of the two Cartesian coordinates at the supplied indices
The polar coordinates (r, theta) of the two Cartesian coordinates at the supplied indices
- Value Params
- coordinateX
index of the abscissa coordinate (defaults to 0)
- coordinateY
index of the ordinate coordinate (defaults to 1)
- unit
unit for the angle (theta) component (defaults to Radians)
- Returns
(A, Angle)