Itasca C++ Interface
Classes | Typedefs | Functions | Variables
vect.h File Reference

2D and 3D vector utility classes. More...

#include "basestring.h"
#include "to.h"
#include <cmath>
#include <array>

Go to the source code of this file.

Classes

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 > >
 
struct  fmt::formatter< Vector2< T > >
 
struct  fmt::formatter< Vector3< T > >
 

Typedefs

typedef Vector2< float > FVect2
 
typedef Vector2< int32 > IVect2
 
typedef Vector2< uint32 > UVect2
 
typedef Vector2< int64 > I64Vect2
 
typedef Vector2< uint64 > U64Vect2
 
typedef Vector3< double > DVect3
 
typedef Vector3< float > FVect3
 
typedef Vector3< int32 > IVect3
 
typedef Vector3< uint32 > UVect3
 
typedef Vector3< int64 > I64Vect3
 
typedef Vector3< uint64 > U64Vect3
 

Functions

PUSHWARNING VSWARNING (4702) template< class T > class Vector2
 2D vector utility class. More...
 
PUSHWARNING VSWARNING (26495) VSWARNING(4702) class BASE_EXPORT SymTensor
 A symmetric 2nd order tensor. More...
 
template<class T >
constexpr I64Vect2 toI64Vect2 (const Vector2< T > &v)
 
template<class T >
constexpr U64Vect2 toU64Vect2 (const Vector2< T > &v)
 
template<class T >
I64Vect3 toI64Vect3 (const Vector3< T > &v)
 
template<class T >
constexpr const Vector2< T > & toVect2 (const Vector2< T > &v)
 Conversion between vectors of different dimension.
 
template<class T >
constexpr Vector2< T > toVect2 (const Vector3< T > &v)
 Conversion between vectors of different dimension. More...
 
template<class T >
constexpr Vector3< T > toVect3 (const Vector2< T > &v, const T &t=0)
 Conversion between vectors of different dimension. More...
 
template<class T >
constexpr const Vector3< T > & toVect3 (const Vector3< T > &v)
 Conversion between vectors of different dimension. More...
 
template<class T >
constexpr I64Vect3 v64round (const Vector3< T > &v)
 
template<class T >
constexpr Vector2< T > std::max (const Vector2< T > &v1, const Vector2< T > &v2)
 Template specialization for max, min.
 
template<class T >
constexpr Vector2< T > std::min (const Vector2< T > &v1, const Vector2< T > &v2)
 Template specialization for max, min.
 
template<class T >
constexpr Vector3< T > std::max (const Vector3< T > &v1, const Vector3< T > &v2)
 Template specialization for max, min.
 
template<class T >
constexpr Vector3< T > std::min (const Vector3< T > &v1, const Vector3< T > &v2)
 Template specialization for max, min.
 
template<typename T >
string base::basehelper::tsVect (const Vector2< T > &t, int width, char notation, int precision, char fill)
 
template<typename T >
string base::basehelper::tsVect (const Vector3< T > &t, int width, char notation, int precision, char fill)
 
template<>
string base::ts (const DVect2 &t, int width, char notation, int precision, char fill)
 
template<>
string base::ts (const DVect3 &t, int width, char notation, int precision, char fill)
 
template<>
string base::ts (const IVect2 &t, int width, char notation, int precision, char fill)
 
template<>
string base::ts (const IVect3 &t, int width, char notation, int precision, char fill)
 
template<>
string base::ts (const I64Vect2 &t, int width, char notation, int precision, char fill)
 
template<>
string base::ts (const I64Vect3 &t, int width, char notation, int precision, char fill)
 

Variables

POPWARNING typedef Vector2< double > DVect2
 

Detailed Description

2D and 3D vector utility classes.