Itasca C++ Interface
|
2D and 3D vector utility classes. More...
Go to the source code of this file.
Classes | |
class | Vector2< T > |
2D vector utility class. More... | |
class | Vector3< T > |
3D vector utility class. More... | |
struct | std::tuple_size< Vector2< T > > |
We want structured binding support for vector types! More... | |
struct | std::tuple_size< Vector3< T > > |
struct | std::tuple_element< N, Vector2< T > > |
struct | std::tuple_element< N, Vector3< T > > |
Functions | |
template<class T > | |
const Vector2< T > & | toVect2 (const Vector2< T > &v) |
Conversion between vectors of different dimension. | |
template<class T > | |
Vector2< T > | toVect2 (const Vector3< T > &v) |
Conversion between vectors of different dimension. More... | |
template<class T > | |
Vector3< T > | toVect3 (const Vector2< T > &v, const T &t=0) |
Conversion between vectors of different dimension. More... | |
template<class T > | |
const Vector3< T > & | toVect3 (const Vector3< T > &v) |
Conversion between vectors of different dimension. More... | |
template<class T > | |
Vector2< T > | std::max (const Vector2< T > &v1, const Vector2< T > &v2) |
Template specialization for max, min. | |
template<class T > | |
Vector2< T > | std::min (const Vector2< T > &v1, const Vector2< T > &v2) |
Template specialization for max, min. | |
template<class T > | |
Vector3< T > | std::max (const Vector3< T > &v1, const Vector3< T > &v2) |
Template specialization for max, min. | |
template<class T > | |
Vector3< T > | std::min (const Vector3< T > &v1, const Vector3< T > &v2) |
Template specialization for max, min. | |
2D and 3D vector utility classes.