Vectors
Meshes.Vec
— TypeVec{Dim,T}
A vector in Dim
-dimensional space with coordinates of type T
.
A vector can be obtained by subtracting two Point
objects.
Examples
A = Point(0.0, 0.0)
B = Point(1.0, 0.0)
v = B - A
Notes
- A
Vec
is aSVector
from StaticArrays.jl - Type aliases are
Vec1
,Vec2
,Vec3
,Vec1f
,Vec2f
,Vec3f