Library of Assembled Shared Sources
lass::prim::Point3D< T > Struct Template Reference

3D Point More...

#include <point_3d.h>

Inheritance diagram for lass::prim::Point3D< T >:

Public Member Functions

TConstReference at (signed index) const
 Wrap index around range.
 
TReference at (signed index)
 Wrap index around range.
 
bool isNaN () const
 Return true if at least one of the components is NaN.
 

Related Symbols

(Note that these are not member symbols.)

template<typename T>
Point3D< T >::TValue distance (const Point3D< T > &a, const Point3D< T > &b)
 return the distance between two points
 
template<typename T>
Point3D< T > pointwiseMin (const Point3D< T > &a, const Point3D< T > &b)
 return a point with, for each coordinate, the minimum value of a and b
 
template<typename T>
Point3D< T > lerp (const Point3D< T > &a, const Point3D< T > &b, typename Point3D< T >::TParam t)
 interpolate linearly between two points: a + t * (b - a)
 
template<typename T>
Point3D< T > pointwiseMax (const Point3D< T > &a, const Point3D< T > &b)
 return a point with, for each coordinate, the maximum value of a and b
 

Detailed Description

template<typename T>
struct lass::prim::Point3D< T >

3D Point

Author
BdG
Date
2003

Definition at line 70 of file point_3d.h.


The documentation for this struct was generated from the following files: