|
HERMES_DEVICE_CALLABLE | Point3 () |
| Default constructor.
|
|
HERMES_DEVICE_CALLABLE | Point3 (T v) |
| Constructs from single component value. More...
|
|
HERMES_DEVICE_CALLABLE | Point3 (T _x, T _y, T _z) |
| Constructs from component values. More...
|
|
HERMES_DEVICE_CALLABLE | Point3 (const Point2< T > &p, T _z=0) |
| Constructs from point2. More...
|
|
HERMES_DEVICE_CALLABLE | Point3 (const real_t *v) |
| Constructs from component array. More...
|
|
template<typename S , typename C = T> |
HERMES_DEVICE_CALLABLE | Point3 (const Point3< S > &c, const Vector3< S > &r, typename std::enable_if_t< std::is_same_v< C, Interval< f32 >>||std::is_same_v< C, Interval< f64 >>> *=nullptr) |
| Constructs from interval center and radius. More...
|
|
HERMES_DEVICE_CALLABLE | Point3 (const Vector3< T > &v) |
| Constructs from vector. More...
|
|
template<typename S , typename C = T> |
HERMES_DEVICE_CALLABLE | Point3 (const Point3< Interval< S >> &vi, typename std::enable_if_t< !std::is_same_v< C, Interval< f32 >> &&!std::is_same_v< C, Interval< f64 >>> *=nullptr) |
| Constructs from interval point3. More...
|
|
template<typename U > |
HERMES_DEVICE_CALLABLE | Point3 (const Index3< U > &index) |
| Constructs from index3. More...
|
|
HERMES_DEVICE_CALLABLE | operator Vector3< T > () const |
| Converts to vector3. More...
|
|
HERMES_DEVICE_CALLABLE T | operator[] (int i) const |
| Get i-th component. More...
|
|
HERMES_DEVICE_CALLABLE T & | operator[] (int i) |
| Get i-th component reference. More...
|
|
HERMES_DEVICE_CALLABLE Vector3< T > | operator- (const Point3< T > &b) const |
|
HERMES_DEVICE_CALLABLE bool | operator== (const Point3< T > &b) const |
|
HERMES_DEVICE_CALLABLE Point2< T > | xy () const |
| Gets 2-dimensional swizzle (x, y) More...
|
|
HERMES_DEVICE_CALLABLE Point2< T > | yz () const |
| Gets 2-dimensional swizzle (y, z) More...
|
|
HERMES_DEVICE_CALLABLE Point2< T > | xz () const |
| Gets 2-dimensional swizzle (x, z) More...
|
|
template<typename T>
class hermes::Point3< T >
Geometric 3-dimensional vector (x, y, z)
- Template Parameters
-