Manifold 1.0
Robust computational geometry
 
Loading...
Searching...
No Matches
vec< T, 3 > Struct Template Reference

Public Member Functions

constexpr vec (const T &x_, const T &y_, const T &z_)
 
constexpr vec (const vec< T, 2 > &xy, const T &z_)
 
constexpr vec (const T &s)
 
constexpr vec (const T *p)
 
template<class U , int N>
constexpr vec (const vec< U, N > &v)
 
constexpr const T & operator[] (int i) const
 
LINALG_CONSTEXPR14 T & operator[] (int i)
 
constexpr const vec< T, 2 > & xy () const
 
vec< T, 2 > & xy ()
 
template<class U , class = detail::conv_t<vec, U>>
constexpr vec (const U &u)
 
template<class U , class = detail::conv_t<U, vec>>
constexpr operator U () const
 

Public Attributes

x
 
y
 
z