scalismo.geometry.EuclideanVector$
See theEuclideanVector companion class
object EuclideanVector
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- EuclideanVector.type
Members list
Concise view
Type members
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
def apply[D : NDSpace](d: Array[Double])(implicit evidence$2: NDSpace[D], builder: Create[D]): EuclideanVector[D]
create a Cartesian vector from polar coordinates
create a Cartesian vector from polar coordinates
Attributes
- phi
azimuth, 0 .. 2*Pi
- r
radial distance, 0 .. infinity
create a Cartesian vector from spherical coordinates
create a Cartesian vector from spherical coordinates
Attributes
- phi
azimuth, 0 .. 2*Pi
- r
radial distance, 0 .. infinity
- theta
inclination, 0 .. Pi
Implicits
Implicits
spire VectorSpace implementation for Vector
spire VectorSpace implementation for Vector