29#ifndef NOMLIB_MATH_POINT3_HEADERS
30#define NOMLIB_MATH_POINT3_HEADERS
32#include "nomlib/config.hpp"
37const std::string POINT3_DELIMITER =
", ";
74 x( NOM_SCAST(T, copy.x) ),
75 y( NOM_SCAST(T, copy.y) ),
76 z( NOM_SCAST(T, copy.z) )
108inline std::ostream& operator << ( std::ostream& os,
const Point3<T>& pos )
121inline bool operator == (
const Point3<T>& lhs,
const Point3<T>& rhs )
123 return ( lhs.x == rhs.x ) && ( lhs.y == rhs.y ) && ( lhs.z == rhs.z );
129 return ! ( lhs == rhs );
Point3()
Default constructor; initialize values to Point3<T>::null.
Point3(T x, T y, T z)
Constructor variant for initializing x, y, z at construction.
const Point3< T > & get() const
Obtain a reference of the object.