AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::slam::util Namespace Reference

Classes

struct  TypeToString
 A helper class to print the name of a few types. More...
 
struct  TypeToString< int >
 A helper class to print the name of integers as 'int'. More...
 
struct  TypeToString< double >
 A helper class to print the name of doubles as 'double'. More...
 
struct  Point3
 A simple 3D point class similar to primal's point class, with some basic Point/Vector functionalities. More...
 

Functions

template<typename T >
Point3< T > operator+ (const Point3< T > &pt1, const Point3< T > &pt2)
 
template<typename T >
Point3< T > operator- (const Point3< T > &pt1, const Point3< T > &pt2)
 
template<typename T >
Point3< T > normalize (const Point3< T > &pt)
 
template<typename T >
Point3< T > cross (const Point3< T > &p1, const Point3< T > &p2)
 
template<typename T >
distance (const Point3< T > &pt1, const Point3< T > &pt2)
 

Function Documentation

◆ operator+()

template<typename T >
Point3<T> axom::slam::util::operator+ ( const Point3< T > &  pt1,
const Point3< T > &  pt2 
)

◆ operator-()

template<typename T >
Point3<T> axom::slam::util::operator- ( const Point3< T > &  pt1,
const Point3< T > &  pt2 
)

◆ normalize()

template<typename T >
Point3<T> axom::slam::util::normalize ( const Point3< T > &  pt)

◆ cross()

template<typename T >
Point3<T> axom::slam::util::cross ( const Point3< T > &  p1,
const Point3< T > &  p2 
)

◆ distance()

template<typename T >
T axom::slam::util::distance ( const Point3< T > &  pt1,
const Point3< T > &  pt2 
)