AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
Point.hpp File Reference
#include "axom/core/Macros.hpp"
#include "axom/slic/interface/slic.hpp"
#include "axom/primal/geometry/NumericArray.hpp"
#include <cstring>
#include <ostream>
#include "axom/fmt.hpp"

Classes

class  axom::primal::Point< T, NDIMS >
 The point class represents a point, \( p \in \mathcal{R}^d \) . It provides access methods to set and query the point coordinates. More...
 
struct  axom::fmt::formatter< axom::primal::Point< T, NDIMS > >
 Overload to format a primal::Point using fmt. More...
 

Namespaces

 axom
 
 axom::primal
 

Typedefs

Pre-defined point types
using axom::primal::Point2D = Point< double, 2 >
 
using axom::primal::Point3D = Point< double, 3 >
 

Functions

Forward Declared Overloaded Operators
template<typename T , int NDIMS>
AXOM_HOST_DEVICE bool axom::primal::operator== (const Point< T, NDIMS > &lhs, const Point< T, NDIMS > &rhs)
 Equality comparison operator for points. More...
 
template<typename T , int NDIMS>
bool axom::primal::operator!= (const Point< T, NDIMS > &lhs, const Point< T, NDIMS > &rhs)
 Inequality comparison operator for points. More...
 
template<typename T , int NDIMS>
std::ostream & axom::primal::operator<< (std::ostream &os, const Point< T, NDIMS > &pt)
 Overloaded output operator for points. More...