Rosetta
Public Types | Public Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
numeric::xyzTriple< T > Class Template Reference

Fast (x,y,z)-coordinate vector container. More...

#include <xyzTriple.hh>

Public Types

typedef T Value
 
typedef TReference
 
typedef T const & ConstReference
 
typedef TPointer
 
typedef T const * ConstPointer
 
typedef T value_type
 
typedef Treference
 
typedef T const & const_reference
 
typedef Tpointer
 
typedef T const * const_pointer
 
typedef void iterator_category
 
typedef void difference_type
 

Public Member Functions

 xyzTriple ()
 Default constructor. More...
 
 xyzTriple (xyzTriple const &v)
 Copy constructor. More...
 
template<typename U >
 xyzTriple (xyzTriple< U > const &v)
 Copy constructor. More...
 
 xyzTriple (Value const &t)
 Uniform value constructor. More...
 
 xyzTriple (Value const &x_a, Value const &y_a, Value const &z_a)
 Triple value constructor. More...
 
template<typename U >
 xyzTriple (U const *p)
 Pointer to contiguous values constructor. More...
 
 ~xyzTriple ()
 Destructor. More...
 
xyzTripleoperator= (xyzTriple const &v)
 Copy assignment. More...
 
template<typename U >
xyzTripleoperator= (xyzTriple< U > const &v)
 Copy assignment. More...
 
template<typename U >
xyzTripleoperator= (U const *p)
 Assignment from pointer to contiguous values. More...
 
template<typename U >
xyzTripleoperator+= (xyzTriple< U > const &v)
 += xyzTriple More...
 
template<typename U >
xyzTripleoperator-= (xyzTriple< U > const &v)
 -= xyzTriple More...
 
template<typename U >
xyzTriplescaled_assign (Value const &t, xyzTriple< U > const &v)
 Assign Value * xyzTriple. More...
 
template<typename U >
xyzTriplescaled_add (Value const &t, xyzTriple< U > const &v)
 Add Value * xyzTriple. More...
 
template<typename U >
xyzTriplescaled_sub (Value const &t, xyzTriple< U > const &v)
 Subtract Value * xyzTriple. More...
 
xyzTripleoperator= (Value const &t)
 = Value More...
 
xyzTripleoperator+= (Value const &t)
 += Value More...
 
xyzTripleoperator-= (Value const &t)
 -= Value More...
 
xyzTripleoperator*= (Value const &t)
 *= Value More...
 
xyzTripleoperator/= (Value const &t)
 /= Value More...
 
xyzTripleassign (Value const &x_a, Value const &y_a, Value const &z_a)
 Triple value assignment. More...
 
xyzTripleclear ()
 Clear. More...
 
xyzTriplezero ()
 Zero. More...
 
xyzTriplenegate ()
 Negate. More...
 
xyzTriple operator- () const
 -xyzTriple (negated copy) More...
 
xyzTriple negated () const
 Negated copy. More...
 
void negated (xyzTriple &a) const
 Negated: Return via argument (slightly faster) More...
 
xyzTriplemin (xyzTriple const &v)
 Set minimum coordinates wrt another xyzTriple. More...
 
xyzTriplemax (xyzTriple const &v)
 Set maximum coordinates wrt another xyzTriple. More...
 
xyzTriplenormalize ()
 Normalize. More...
 
void normalized (xyzTriple &a) const
 Normalized. More...
 
xyzTriplenormalize_or_zero ()
 Normalize: zero xyzTriple if length is zero. More...
 
void normalized_or_zero (xyzTriple &a) const
 Normalized: zero xyzTriple if length is zero. More...
 
xyzTriplenormalize_any ()
 Normalize: arbitrary normalized xyzTriple if length is zero. More...
 
void normalized_any (xyzTriple &a) const
 Normalized: arbitrary normalized xyzTriple if length is zero. More...
 
xyzTriplenormalize (Value const &length_a)
 Normalize to a length. More...
 
void normalized (Value const &length_a, xyzTriple &a) const
 Normalized to a length. More...
 
xyzTriplenormalize_or_zero (Value const &length_a)
 Normalize to a length: zero xyzTriple if length is zero. More...
 
void normalized_or_zero (Value const &length_a, xyzTriple &a) const
 Normalized to a length: zero xyzTriple if length is zero. More...
 
xyzTriplenormalize_any (Value const &length_a)
 Normalize to a length: arbitrary normalized xyzTriple if length is zero. More...
 
void normalized_any (Value const &length_a, xyzTriple &a) const
 Normalized to a length: arbitrary normalized xyzTriple if length is zero. More...
 
xyzTriple normalized () const
 Normalized copy. More...
 
xyzTriple normalized_or_zero () const
 Normalized copy: Zero xyzTriple if length is zero. More...
 
xyzTriple normalized_any () const
 Normalized copy: Arbitrary normalized xyzTriple if length is zero. More...
 
xyzTriple normalized (Value const &length_a) const
 Normalized to a length copy. More...
 
xyzTriple normalized_or_zero (Value const &length_a) const
 Normalized to a length copy: Zero xyzTriple if length is zero. More...
 
xyzTriple normalized_any (Value const &length_a) const
 Normalized to a length copy: Arbitrary normalized xyzTriple if length is zero. More...
 
xyzTripleproject_normal (xyzTriple const &v)
 Project normal. More...
 
xyzTriple projected_normal (xyzTriple const &v) const
 Projected normal copy. More...
 
void projected_normal (xyzTriple const &v, xyzTriple &a) const
 Projected normal. More...
 
xyzTripleproject_parallel (xyzTriple const &v)
 Project parallel. More...
 
xyzTriple projected_parallel (xyzTriple const &v) const
 Projected parallel copy. More...
 
void projected_parallel (xyzTriple const &v, xyzTriple &a)
 Projected parallel. More...
 
Value distance (xyzTriple const &v) const
 Distance. More...
 
Value distance_squared (xyzTriple const &v) const
 Distance squared. More...
 
Value dot (xyzTriple const &v) const
 Dot product. More...
 
Value dot_product (xyzTriple const &v) const
 Dot product. More...
 
Value inner_product (xyzTriple const &v) const
 Inner product ( == dot product ) More...
 
xyzTriple cross (xyzTriple const &v) const
 Cross product. More...
 
xyzTriple cross_product (xyzTriple const &v) const
 Cross product. More...
 
bool is_zero () const
 Is zero? More...
 
bool is_normalized () const
 Is exactly normalized? More...
 
bool is_normalized (Value const &tol) const
 Is normalized to within a tolerance? More...
 
bool is_unit () const
 Is exactly a unit vector? More...
 
bool is_unit (Value const &tol) const
 Is a unit vector to within a tolerance? More...
 
Value const & x () const
 Value x const. More...
 
Valuex ()
 Value x. More...
 
Value const & y () const
 Value y const. More...
 
Valuey ()
 Value y. More...
 
Value const & z () const
 Value z const. More...
 
Valuez ()
 Value z. More...
 
Value length () const
 Length. More...
 
Value length_squared () const
 Length squared. More...
 
Value norm () const
 Norm. More...
 
Value norm_squared () const
 Norm squared. More...
 
Value magnitude () const
 Magnitude. More...
 
Value magnitude_squared () const
 Magnitude squared. More...
 
void x (Value const &x_a)
 x assignment More...
 
void y (Value const &y_a)
 y assignment More...
 
void z (Value const &z_a)
 z assignment More...
 
Value const & at (int const i) const
 xyzVector.at: 0-based index with bounds checking More...
 
Valueat (int const i)
 xyzVector.at: 0-based index with bounds checking More...
 
Value const & operator[] (int const i) const
 xyzTriple[ i ] const: 0-based index More...
 
Valueoperator[] (int const i)
 xyzTriple[ i ]: 0-based index More...
 
Value const & operator() (int const i) const
 xyzTriple( i ) const: 1-based index More...
 
Valueoperator() (int const i)
 xyzTriple( i ): 1-based index More...
 
bool equal_length (xyzTriple const &v)
 Equal length? More...
 
bool not_equal_length (xyzTriple const &v)
 Not equal length? More...
 
bool longer (xyzTriple const &v)
 Longer? More...
 
bool longer_or_equal (xyzTriple const &v)
 Longer or equal length? More...
 
bool shorter (xyzTriple const &v)
 Shorter? More...
 
bool shorter_or_equal (xyzTriple const &v)
 Shorter or equal length? More...
 

Static Private Member Functions

static Value square (Value const &t)
 square( t ) == t * t More...
 

Private Attributes

Value x_
 Coordinates of the 3 coordinate vector. More...
 
Value y_
 
Value z_
 

Friends

template<typename >
class xyzTriple
 
xyzTriple operator+ (xyzTriple const &a, xyzTriple const &b)
 xyzTriple + xyzTriple More...
 
xyzTriple operator+ (xyzTriple const &v, Value const &t)
 xyzTriple + Value More...
 
xyzTriple operator+ (Value const &t, xyzTriple const &v)
 Value + xyzTriple. More...
 
xyzTriple operator- (xyzTriple const &a, xyzTriple const &b)
 xyzTriple - xyzTriple More...
 
xyzTriple operator- (xyzTriple const &v, Value const &t)
 xyzTriple - Value More...
 
xyzTriple operator- (Value const &t, xyzTriple const &v)
 Value - xyzTriple. More...
 
xyzTriple operator* (xyzTriple const &v, Value const &t)
 xyzTriple * Value More...
 
xyzTriple operator* (Value const &t, xyzTriple const &v)
 Value * xyzTriple. More...
 
xyzTriple operator/ (xyzTriple const &v, Value const &t)
 xyzTriple / Value More...
 
template<typename U >
void add (xyzTriple< U > const &a, xyzTriple< U > const &b, xyzTriple< U > &r)
 Add: xyzTriple + xyzTriple. More...
 
template<typename U >
void add (xyzTriple< U > const &v, U const &t, xyzTriple< U > &r)
 Add: xyzTriple + Value. More...
 
template<typename U >
void add (U const &t, xyzTriple< U > const &v, xyzTriple< U > &r)
 Add: Value + xyzTriple. More...
 
template<typename U >
void subtract (xyzTriple< U > const &a, xyzTriple< U > const &b, xyzTriple< U > &r)
 Subtract: xyzTriple - xyzTriple. More...
 
template<typename U >
void subtract (xyzTriple< U > const &v, U const &t, xyzTriple< U > &r)
 Subtract: xyzTriple - Value. More...
 
template<typename U >
void subtract (U const &t, xyzTriple< U > const &v, xyzTriple< U > &r)
 Subtract: Value - xyzTriple. More...
 
template<typename U >
void multiply (xyzTriple< U > const &v, U const &t, xyzTriple< U > &r)
 Multiply: xyzTriple * Value. More...
 
template<typename U >
void multiply (U const &t, xyzTriple< U > const &v, xyzTriple< U > &r)
 Multiply: Value * xyzTriple. More...
 
template<typename U >
void divide (xyzTriple< U > const &v, U const &t, xyzTriple< U > &r)
 Divide: xyzTriple / Value. More...
 
template<typename U >
xyzTriple< U > min (xyzTriple< U > const &a, xyzTriple< U > const &b)
 xyzTriple with min coordinates of two xyzTriples More...
 
template<typename U >
xyzTriple< U > max (xyzTriple< U > const &a, xyzTriple< U > const &b)
 xyzTriple with max coordinates of two xyzTriples More...
 
template<typename U >
distance (xyzTriple< U > const &a, xyzTriple< U > const &b)
 Distance. More...
 
template<typename U >
distance_squared (xyzTriple< U > const &a, xyzTriple< U > const &b)
 Distance squared. More...
 
template<typename U >
dot (xyzTriple< U > const &a, xyzTriple< U > const &b)
 Dot product. More...
 
template<typename U >
dot_product (xyzTriple< U > const &a, xyzTriple< U > const &b)
 Dot product. More...
 
template<typename U >
inner_product (xyzTriple< U > const &a, xyzTriple< U > const &b)
 Inner product ( == dot product ) More...
 
template<typename U >
xyzTriple< U > cross (xyzTriple< U > const &a, xyzTriple< U > const &b)
 Cross product. More...
 
template<typename U >
xyzTriple< U > cross_product (xyzTriple< U > const &a, xyzTriple< U > const &b)
 Cross product. More...
 
template<typename U >
void cross (xyzTriple< U > const &a, xyzTriple< U > const &b, xyzTriple< U > &c)
 Cross product: Return via argument (slightly faster) More...
 
template<typename U >
void cross_product (xyzTriple< U > const &a, xyzTriple< U > const &b, xyzTriple< U > &c)
 Cross product: Return via argument (slightly faster) More...
 
template<typename U >
xyzTriple< U > midpoint (xyzTriple< U > const &a, xyzTriple< U > const &b)
 Midpoint of 2 xyzTriples. More...
 
template<typename U >
void midpoint (xyzTriple< U > const &a, xyzTriple< U > const &b, xyzTriple< U > &m)
 Midpoint of 2 xyzTriples: Return via argument (slightly faster) More...
 
template<typename U >
xyzTriple< U > center (xyzTriple< U > const &a, xyzTriple< U > const &b)
 Center of 2 xyzTriples. More...
 
template<typename U >
void center (xyzTriple< U > const &a, xyzTriple< U > const &b, xyzTriple< U > &m)
 Center of 2 xyzTriples: Return via argument (slightly faster) More...
 
template<typename U >
xyzTriple< U > center (xyzTriple< U > const &a, xyzTriple< U > const &b, xyzTriple< U > const &c)
 Center of 3 xyzTriples. More...
 
template<typename U >
void center (xyzTriple< U > const &a, xyzTriple< U > const &b, xyzTriple< U > const &c, xyzTriple< U > &m)
 Center of 3 xyzTriples: Return via argument (slightly faster) More...
 
template<typename U >
xyzTriple< U > center (xyzTriple< U > const &a, xyzTriple< U > const &b, xyzTriple< U > const &c, xyzTriple< U > const &d)
 Center of 4 xyzTriples. More...
 
template<typename U >
void center (xyzTriple< U > const &a, xyzTriple< U > const &b, xyzTriple< U > const &c, xyzTriple< U > const &d, xyzTriple< U > &m)
 Center of 4 xyzTriples: Return via argument (slightly faster) More...
 
template<typename U >
angle_of (xyzTriple< U > const &a, xyzTriple< U > const &b)
 Angle between two vectors (in radians on [ 0, pi ]) More...
 
template<typename U >
angle_of (xyzTriple< U > const &a, xyzTriple< U > const &b, xyzTriple< U > const &c)
 Angle formed by three consecutive points (in radians on [ 0, pi ]) More...
 
template<typename U >
cos_of (xyzTriple< U > const &a, xyzTriple< U > const &b)
 Cosine of angle between two vectors. More...
 
template<typename U >
cos_of (xyzTriple< U > const &a, xyzTriple< U > const &b, xyzTriple< U > const &c)
 Cosine of angle formed by three consecutive points. More...
 
template<typename U >
sin_of (xyzTriple< U > const &a, xyzTriple< U > const &b)
 Sine of angle between two vectors. More...
 
template<typename U >
sin_of (xyzTriple< U > const &a, xyzTriple< U > const &b, xyzTriple< U > const &c)
 Sine of angle formed by three consecutive points. More...
 
bool operator== (xyzTriple const &a, xyzTriple const &b)
 xyzTriple == xyzTriple More...
 
bool operator!= (xyzTriple const &a, xyzTriple const &b)
 xyzTriple != xyzTriple More...
 
bool operator< (xyzTriple const &a, xyzTriple const &b)
 xyzTriple < xyzTriple: Lexicographic order More...
 
bool operator<= (xyzTriple const &a, xyzTriple const &b)
 xyzTriple <= xyzTriple More...
 
bool operator>= (xyzTriple const &a, xyzTriple const &b)
 xyzTriple >= xyzTriple More...
 
bool operator> (xyzTriple const &a, xyzTriple const &b)
 xyzTriple > xyzTriple More...
 
bool operator== (xyzTriple const &v, Value const &t)
 xyzTriple == Value More...
 
bool operator!= (xyzTriple const &v, Value const &t)
 xyzTriple != Value More...
 
bool operator< (xyzTriple const &v, Value const &t)
 xyzTriple < Value More...
 
bool operator<= (xyzTriple const &v, Value const &t)
 xyzTriple <= Value More...
 
bool operator>= (xyzTriple const &v, Value const &t)
 xyzTriple >= Value More...
 
bool operator> (xyzTriple const &v, Value const &t)
 xyzTriple > Value More...
 
bool operator== (Value const &t, xyzTriple const &v)
 Value == xyzTriple. More...
 
bool operator!= (Value const &t, xyzTriple const &v)
 Value != xyzTriple. More...
 
bool operator< (Value const &t, xyzTriple const &v)
 Value < xyzTriple. More...
 
bool operator<= (Value const &t, xyzTriple const &v)
 Value <= xyzTriple. More...
 
bool operator>= (Value const &t, xyzTriple const &v)
 Value >= xyzTriple. More...
 
bool operator> (Value const &t, xyzTriple const &v)
 Value > xyzTriple. More...
 
template<typename U >
bool equal_length (xyzTriple< U > const &a, xyzTriple< U > const &b)
 Equal length? More...
 
template<typename U >
bool not_equal_length (xyzTriple< U > const &a, xyzTriple< U > const &b)
 Not equal length? More...
 

Detailed Description

template<typename T>
class numeric::xyzTriple< T >

Fast (x,y,z)-coordinate vector container.

Member Typedef Documentation

◆ const_pointer

template<typename T >
typedef T const* numeric::xyzTriple< T >::const_pointer

◆ const_reference

template<typename T >
typedef T const& numeric::xyzTriple< T >::const_reference

◆ ConstPointer

template<typename T >
typedef T const* numeric::xyzTriple< T >::ConstPointer

◆ ConstReference

template<typename T >
typedef T const& numeric::xyzTriple< T >::ConstReference

◆ difference_type

template<typename T >
typedef void numeric::xyzTriple< T >::difference_type

◆ iterator_category

template<typename T >
typedef void numeric::xyzTriple< T >::iterator_category

◆ Pointer

template<typename T >
typedef T* numeric::xyzTriple< T >::Pointer

◆ pointer

template<typename T >
typedef T* numeric::xyzTriple< T >::pointer

◆ Reference

template<typename T >
typedef T& numeric::xyzTriple< T >::Reference

◆ reference

template<typename T >
typedef T& numeric::xyzTriple< T >::reference

◆ Value

template<typename T >
typedef T numeric::xyzTriple< T >::Value

◆ value_type

template<typename T >
typedef T numeric::xyzTriple< T >::value_type

Constructor & Destructor Documentation

◆ xyzTriple() [1/6]

template<typename T >
numeric::xyzTriple< T >::xyzTriple ( )
inline

Default constructor.

Note
Values are uninitialized for efficiency

◆ xyzTriple() [2/6]

template<typename T >
numeric::xyzTriple< T >::xyzTriple ( xyzTriple< T > const &  v)
inline

Copy constructor.

◆ xyzTriple() [3/6]

template<typename T >
template<typename U >
numeric::xyzTriple< T >::xyzTriple ( xyzTriple< U > const &  v)
inline

Copy constructor.

◆ xyzTriple() [4/6]

template<typename T >
numeric::xyzTriple< T >::xyzTriple ( Value const &  t)
inlineexplicit

Uniform value constructor.

◆ xyzTriple() [5/6]

template<typename T >
numeric::xyzTriple< T >::xyzTriple ( Value const &  x_a,
Value const &  y_a,
Value const &  z_a 
)
inline

Triple value constructor.

◆ xyzTriple() [6/6]

template<typename T >
template<typename U >
numeric::xyzTriple< T >::xyzTriple ( U const *  p)
inlineexplicit

Pointer to contiguous values constructor.

Note
U must be assignable to a Value
Warning
No way to check that argument points to three values
Argument missing an & operator will quietly call the uniform value constructor

◆ ~xyzTriple()

template<typename T >
numeric::xyzTriple< T >::~xyzTriple ( )
inline

Destructor.

Member Function Documentation

◆ assign()

template<typename T >
xyzTriple& numeric::xyzTriple< T >::assign ( Value const &  x_a,
Value const &  y_a,
Value const &  z_a 
)
inline

◆ at() [1/2]

template<typename T >
Value& numeric::xyzTriple< T >::at ( int const  i)
inline

xyzVector.at: 0-based index with bounds checking

References create_a3b_hbs::i, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.

◆ at() [2/2]

template<typename T >
Value const& numeric::xyzTriple< T >::at ( int const  i) const
inline

xyzVector.at: 0-based index with bounds checking

References create_a3b_hbs::i, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.

◆ clear()

template<typename T >
xyzTriple& numeric::xyzTriple< T >::clear ( )
inline

◆ cross()

template<typename T >
xyzTriple numeric::xyzTriple< T >::cross ( xyzTriple< T > const &  v) const
inline

◆ cross_product()

template<typename T >
xyzTriple numeric::xyzTriple< T >::cross_product ( xyzTriple< T > const &  v) const
inline

◆ distance()

template<typename T >
Value numeric::xyzTriple< T >::distance ( xyzTriple< T > const &  v) const
inline

◆ distance_squared()

template<typename T >
Value numeric::xyzTriple< T >::distance_squared ( xyzTriple< T > const &  v) const
inline

◆ dot()

template<typename T >
Value numeric::xyzTriple< T >::dot ( xyzTriple< T > const &  v) const
inline

◆ dot_product()

template<typename T >
Value numeric::xyzTriple< T >::dot_product ( xyzTriple< T > const &  v) const
inline

◆ equal_length()

template<typename T >
bool numeric::xyzTriple< T >::equal_length ( xyzTriple< T > const &  v)
inline

◆ inner_product()

template<typename T >
Value numeric::xyzTriple< T >::inner_product ( xyzTriple< T > const &  v) const
inline

◆ is_normalized() [1/2]

template<typename T >
bool numeric::xyzTriple< T >::is_normalized ( ) const
inline

Is exactly normalized?

References numeric::xyzTriple< T >::length_squared().

◆ is_normalized() [2/2]

template<typename T >
bool numeric::xyzTriple< T >::is_normalized ( Value const &  tol) const
inline

Is normalized to within a tolerance?

References numeric::xyzTriple< T >::length_squared(), and loops_kic::tol.

◆ is_unit() [1/2]

template<typename T >
bool numeric::xyzTriple< T >::is_unit ( ) const
inline

Is exactly a unit vector?

References numeric::xyzTriple< T >::length_squared().

◆ is_unit() [2/2]

template<typename T >
bool numeric::xyzTriple< T >::is_unit ( Value const &  tol) const
inline

Is a unit vector to within a tolerance?

References numeric::xyzTriple< T >::length_squared(), and loops_kic::tol.

◆ is_zero()

template<typename T >
bool numeric::xyzTriple< T >::is_zero ( ) const
inline

◆ length()

template<typename T >
Value numeric::xyzTriple< T >::length ( ) const
inline

◆ length_squared()

template<typename T >
Value numeric::xyzTriple< T >::length_squared ( ) const
inline

◆ longer()

template<typename T >
bool numeric::xyzTriple< T >::longer ( xyzTriple< T > const &  v)
inline

◆ longer_or_equal()

template<typename T >
bool numeric::xyzTriple< T >::longer_or_equal ( xyzTriple< T > const &  v)
inline

◆ magnitude()

template<typename T >
Value numeric::xyzTriple< T >::magnitude ( ) const
inline

◆ magnitude_squared()

template<typename T >
Value numeric::xyzTriple< T >::magnitude_squared ( ) const
inline

◆ max()

template<typename T >
xyzTriple& numeric::xyzTriple< T >::max ( xyzTriple< T > const &  v)
inline

◆ min()

template<typename T >
xyzTriple& numeric::xyzTriple< T >::min ( xyzTriple< T > const &  v)
inline

◆ negate()

template<typename T >
xyzTriple& numeric::xyzTriple< T >::negate ( )
inline

◆ negated() [1/2]

template<typename T >
xyzTriple numeric::xyzTriple< T >::negated ( ) const
inline

◆ negated() [2/2]

template<typename T >
void numeric::xyzTriple< T >::negated ( xyzTriple< T > &  a) const
inline

Negated: Return via argument (slightly faster)

References a, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.

◆ norm()

template<typename T >
Value numeric::xyzTriple< T >::norm ( ) const
inline

◆ norm_squared()

template<typename T >
Value numeric::xyzTriple< T >::norm_squared ( ) const
inline

◆ normalize() [1/2]

template<typename T >
xyzTriple& numeric::xyzTriple< T >::normalize ( )
inline

◆ normalize() [2/2]

template<typename T >
xyzTriple& numeric::xyzTriple< T >::normalize ( Value const &  length_a)
inline

◆ normalize_any() [1/2]

template<typename T >
xyzTriple& numeric::xyzTriple< T >::normalize_any ( )
inline

◆ normalize_any() [2/2]

template<typename T >
xyzTriple& numeric::xyzTriple< T >::normalize_any ( Value const &  length_a)
inline

Normalize to a length: arbitrary normalized xyzTriple if length is zero.

References numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.

◆ normalize_or_zero() [1/2]

template<typename T >
xyzTriple& numeric::xyzTriple< T >::normalize_or_zero ( )
inline

◆ normalize_or_zero() [2/2]

template<typename T >
xyzTriple& numeric::xyzTriple< T >::normalize_or_zero ( Value const &  length_a)
inline

◆ normalized() [1/4]

template<typename T >
xyzTriple numeric::xyzTriple< T >::normalized ( ) const
inline

◆ normalized() [2/4]

template<typename T >
xyzTriple numeric::xyzTriple< T >::normalized ( Value const &  length_a) const
inline

◆ normalized() [3/4]

template<typename T >
void numeric::xyzTriple< T >::normalized ( Value const &  length_a,
xyzTriple< T > &  a 
) const
inline

◆ normalized() [4/4]

template<typename T >
void numeric::xyzTriple< T >::normalized ( xyzTriple< T > &  a) const
inline

◆ normalized_any() [1/4]

template<typename T >
xyzTriple numeric::xyzTriple< T >::normalized_any ( ) const
inline

◆ normalized_any() [2/4]

template<typename T >
xyzTriple numeric::xyzTriple< T >::normalized_any ( Value const &  length_a) const
inline

◆ normalized_any() [3/4]

template<typename T >
void numeric::xyzTriple< T >::normalized_any ( Value const &  length_a,
xyzTriple< T > &  a 
) const
inline

Normalized to a length: arbitrary normalized xyzTriple if length is zero.

References a, numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.

◆ normalized_any() [4/4]

template<typename T >
void numeric::xyzTriple< T >::normalized_any ( xyzTriple< T > &  a) const
inline

◆ normalized_or_zero() [1/4]

template<typename T >
xyzTriple numeric::xyzTriple< T >::normalized_or_zero ( ) const
inline

◆ normalized_or_zero() [2/4]

template<typename T >
xyzTriple numeric::xyzTriple< T >::normalized_or_zero ( Value const &  length_a) const
inline

◆ normalized_or_zero() [3/4]

template<typename T >
void numeric::xyzTriple< T >::normalized_or_zero ( Value const &  length_a,
xyzTriple< T > &  a 
) const
inline

◆ normalized_or_zero() [4/4]

template<typename T >
void numeric::xyzTriple< T >::normalized_or_zero ( xyzTriple< T > &  a) const
inline

◆ not_equal_length()

template<typename T >
bool numeric::xyzTriple< T >::not_equal_length ( xyzTriple< T > const &  v)
inline

◆ operator()() [1/2]

template<typename T >
Value& numeric::xyzTriple< T >::operator() ( int const  i)
inline

◆ operator()() [2/2]

template<typename T >
Value const& numeric::xyzTriple< T >::operator() ( int const  i) const
inline

◆ operator*=()

template<typename T >
xyzTriple& numeric::xyzTriple< T >::operator*= ( Value const &  t)
inline

◆ operator+=() [1/2]

template<typename T >
xyzTriple& numeric::xyzTriple< T >::operator+= ( Value const &  t)
inline

◆ operator+=() [2/2]

template<typename T >
template<typename U >
xyzTriple& numeric::xyzTriple< T >::operator+= ( xyzTriple< U > const &  v)
inline

◆ operator-()

template<typename T >
xyzTriple numeric::xyzTriple< T >::operator- ( ) const
inline

◆ operator-=() [1/2]

template<typename T >
xyzTriple& numeric::xyzTriple< T >::operator-= ( Value const &  t)
inline

◆ operator-=() [2/2]

template<typename T >
template<typename U >
xyzTriple& numeric::xyzTriple< T >::operator-= ( xyzTriple< U > const &  v)
inline

◆ operator/=()

template<typename T >
xyzTriple& numeric::xyzTriple< T >::operator/= ( Value const &  t)
inline

◆ operator=() [1/4]

template<typename T >
template<typename U >
xyzTriple& numeric::xyzTriple< T >::operator= ( U const *  p)
inline

Assignment from pointer to contiguous values.

Warning
No way to check that argument points to three values

References kmeans_adaptive_kernel_density_bb_dependent_rotlib::p, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.

◆ operator=() [2/4]

template<typename T >
xyzTriple& numeric::xyzTriple< T >::operator= ( Value const &  t)
inline

◆ operator=() [3/4]

template<typename T >
xyzTriple& numeric::xyzTriple< T >::operator= ( xyzTriple< T > const &  v)
inline

◆ operator=() [4/4]

template<typename T >
template<typename U >
xyzTriple& numeric::xyzTriple< T >::operator= ( xyzTriple< U > const &  v)
inline

◆ operator[]() [1/2]

template<typename T >
Value& numeric::xyzTriple< T >::operator[] ( int const  i)
inline

◆ operator[]() [2/2]

template<typename T >
Value const& numeric::xyzTriple< T >::operator[] ( int const  i) const
inline

◆ project_normal()

template<typename T >
xyzTriple& numeric::xyzTriple< T >::project_normal ( xyzTriple< T > const &  v)
inline

◆ project_parallel()

template<typename T >
xyzTriple& numeric::xyzTriple< T >::project_parallel ( xyzTriple< T > const &  v)
inline

◆ projected_normal() [1/2]

template<typename T >
xyzTriple numeric::xyzTriple< T >::projected_normal ( xyzTriple< T > const &  v) const
inline

◆ projected_normal() [2/2]

template<typename T >
void numeric::xyzTriple< T >::projected_normal ( xyzTriple< T > const &  v,
xyzTriple< T > &  a 
) const
inline

◆ projected_parallel() [1/2]

template<typename T >
xyzTriple numeric::xyzTriple< T >::projected_parallel ( xyzTriple< T > const &  v) const
inline

Projected parallel copy.

Note
Copy of this vector projected in direction of input vector
Not meaningful when v == 0

References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, numeric::xyzTriple< T >::dot(), kmeans_adaptive_kernel_density_bb_dependent_rotlib::v, and numeric::xyzTriple< T >::xyzTriple.

◆ projected_parallel() [2/2]

template<typename T >
void numeric::xyzTriple< T >::projected_parallel ( xyzTriple< T > const &  v,
xyzTriple< T > &  a 
)
inline

Projected parallel.

Note
Copy of this vector projected in direction of first input vector
Not meaningful when v == 0

References a, kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, numeric::xyzTriple< T >::dot(), and kmeans_adaptive_kernel_density_bb_dependent_rotlib::v.

◆ scaled_add()

template<typename T >
template<typename U >
xyzTriple& numeric::xyzTriple< T >::scaled_add ( Value const &  t,
xyzTriple< U > const &  v 
)
inline

◆ scaled_assign()

template<typename T >
template<typename U >
xyzTriple& numeric::xyzTriple< T >::scaled_assign ( Value const &  t,
xyzTriple< U > const &  v 
)
inline

◆ scaled_sub()

template<typename T >
template<typename U >
xyzTriple& numeric::xyzTriple< T >::scaled_sub ( Value const &  t,
xyzTriple< U > const &  v 
)
inline

◆ shorter()

template<typename T >
bool numeric::xyzTriple< T >::shorter ( xyzTriple< T > const &  v)
inline

◆ shorter_or_equal()

template<typename T >
bool numeric::xyzTriple< T >::shorter_or_equal ( xyzTriple< T > const &  v)
inline

◆ square()

template<typename T >
static Value numeric::xyzTriple< T >::square ( Value const &  t)
inlinestaticprivate

◆ x() [1/3]

template<typename T >
Value& numeric::xyzTriple< T >::x ( )
inline

◆ x() [2/3]

template<typename T >
Value const& numeric::xyzTriple< T >::x ( ) const
inline

◆ x() [3/3]

template<typename T >
void numeric::xyzTriple< T >::x ( Value const &  x_a)
inline

◆ y() [1/3]

template<typename T >
Value& numeric::xyzTriple< T >::y ( )
inline

◆ y() [2/3]

template<typename T >
Value const& numeric::xyzTriple< T >::y ( ) const
inline

◆ y() [3/3]

template<typename T >
void numeric::xyzTriple< T >::y ( Value const &  y_a)
inline

◆ z() [1/3]

template<typename T >
Value& numeric::xyzTriple< T >::z ( )
inline

◆ z() [2/3]

template<typename T >
Value const& numeric::xyzTriple< T >::z ( ) const
inline

◆ z() [3/3]

template<typename T >
void numeric::xyzTriple< T >::z ( Value const &  z_a)
inline

◆ zero()

template<typename T >
xyzTriple& numeric::xyzTriple< T >::zero ( )
inline

Friends And Related Function Documentation

◆ add [1/3]

template<typename T >
template<typename U >
void add ( U const &  t,
xyzTriple< U > const &  v,
xyzTriple< U > &  r 
)
friend

◆ add [2/3]

template<typename T >
template<typename U >
void add ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b,
xyzTriple< U > &  r 
)
friend

◆ add [3/3]

template<typename T >
template<typename U >
void add ( xyzTriple< U > const &  v,
U const &  t,
xyzTriple< U > &  r 
)
friend

◆ angle_of [1/2]

template<typename T >
template<typename U >
U angle_of ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b 
)
friend

Angle between two vectors (in radians on [ 0, pi ])

◆ angle_of [2/2]

template<typename T >
template<typename U >
U angle_of ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b,
xyzTriple< U > const &  c 
)
friend

Angle formed by three consecutive points (in radians on [ 0, pi ])

Note
For points a, b, c, the angle is the angle between the vectors a - b and c - b in other words, the positive angle about b from a to c

◆ center [1/6]

template<typename T >
template<typename U >
xyzTriple<U> center ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b 
)
friend

Center of 2 xyzTriples.

◆ center [2/6]

template<typename T >
template<typename U >
void center ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b,
xyzTriple< U > &  m 
)
friend

Center of 2 xyzTriples: Return via argument (slightly faster)

◆ center [3/6]

template<typename T >
template<typename U >
xyzTriple<U> center ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b,
xyzTriple< U > const &  c 
)
friend

Center of 3 xyzTriples.

◆ center [4/6]

template<typename T >
template<typename U >
void center ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b,
xyzTriple< U > const &  c,
xyzTriple< U > &  m 
)
friend

Center of 3 xyzTriples: Return via argument (slightly faster)

◆ center [5/6]

template<typename T >
template<typename U >
xyzTriple<U> center ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b,
xyzTriple< U > const &  c,
xyzTriple< U > const &  d 
)
friend

Center of 4 xyzTriples.

◆ center [6/6]

template<typename T >
template<typename U >
void center ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b,
xyzTriple< U > const &  c,
xyzTriple< U > const &  d,
xyzTriple< U > &  m 
)
friend

Center of 4 xyzTriples: Return via argument (slightly faster)

◆ cos_of [1/2]

template<typename T >
template<typename U >
U cos_of ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b 
)
friend

Cosine of angle between two vectors.

◆ cos_of [2/2]

template<typename T >
template<typename U >
U cos_of ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b,
xyzTriple< U > const &  c 
)
friend

Cosine of angle formed by three consecutive points.

Note
For points a, b, c, the angle is the angle between the vectors a - b and c - b in other words, the positive angle about b from a to c.

◆ cross [1/2]

template<typename T >
template<typename U >
xyzTriple<U> cross ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b 
)
friend

Cross product.

◆ cross [2/2]

template<typename T >
template<typename U >
void cross ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b,
xyzTriple< U > &  c 
)
friend

Cross product: Return via argument (slightly faster)

◆ cross_product [1/2]

template<typename T >
template<typename U >
xyzTriple<U> cross_product ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b 
)
friend

Cross product.

◆ cross_product [2/2]

template<typename T >
template<typename U >
void cross_product ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b,
xyzTriple< U > &  c 
)
friend

Cross product: Return via argument (slightly faster)

◆ distance

template<typename T >
template<typename U >
U distance ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b 
)
friend

Distance.

◆ distance_squared

template<typename T >
template<typename U >
U distance_squared ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b 
)
friend

Distance squared.

◆ divide

template<typename T >
template<typename U >
void divide ( xyzTriple< U > const &  v,
U const &  t,
xyzTriple< U > &  r 
)
friend

Divide: xyzTriple / Value.

◆ dot

template<typename T >
template<typename U >
U dot ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b 
)
friend

Dot product.

◆ dot_product

template<typename T >
template<typename U >
U dot_product ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b 
)
friend

Dot product.

◆ equal_length

template<typename T >
template<typename U >
bool equal_length ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b 
)
friend

Equal length?

◆ inner_product

template<typename T >
template<typename U >
U inner_product ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b 
)
friend

Inner product ( == dot product )

◆ max

template<typename T >
template<typename U >
xyzTriple<U> max ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b 
)
friend

xyzTriple with max coordinates of two xyzTriples

◆ midpoint [1/2]

template<typename T >
template<typename U >
xyzTriple<U> midpoint ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b 
)
friend

Midpoint of 2 xyzTriples.

◆ midpoint [2/2]

template<typename T >
template<typename U >
void midpoint ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b,
xyzTriple< U > &  m 
)
friend

Midpoint of 2 xyzTriples: Return via argument (slightly faster)

◆ min

template<typename T >
template<typename U >
xyzTriple<U> min ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b 
)
friend

xyzTriple with min coordinates of two xyzTriples

◆ multiply [1/2]

template<typename T >
template<typename U >
void multiply ( U const &  t,
xyzTriple< U > const &  v,
xyzTriple< U > &  r 
)
friend

Multiply: Value * xyzTriple.

◆ multiply [2/2]

template<typename T >
template<typename U >
void multiply ( xyzTriple< U > const &  v,
U const &  t,
xyzTriple< U > &  r 
)
friend

Multiply: xyzTriple * Value.

◆ not_equal_length

template<typename T >
template<typename U >
bool not_equal_length ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b 
)
friend

Not equal length?

◆ operator!= [1/3]

template<typename T >
bool operator!= ( Value const &  t,
xyzTriple< T > const &  v 
)
friend

Value != xyzTriple.

◆ operator!= [2/3]

template<typename T >
bool operator!= ( xyzTriple< T > const &  a,
xyzTriple< T > const &  b 
)
friend

◆ operator!= [3/3]

template<typename T >
bool operator!= ( xyzTriple< T > const &  v,
Value const &  t 
)
friend

xyzTriple != Value

◆ operator* [1/2]

template<typename T >
xyzTriple operator* ( Value const &  t,
xyzTriple< T > const &  v 
)
friend

Value * xyzTriple.

◆ operator* [2/2]

template<typename T >
xyzTriple operator* ( xyzTriple< T > const &  v,
Value const &  t 
)
friend

xyzTriple * Value

◆ operator+ [1/3]

template<typename T >
xyzTriple operator+ ( Value const &  t,
xyzTriple< T > const &  v 
)
friend

Value + xyzTriple.

◆ operator+ [2/3]

template<typename T >
xyzTriple operator+ ( xyzTriple< T > const &  a,
xyzTriple< T > const &  b 
)
friend

◆ operator+ [3/3]

template<typename T >
xyzTriple operator+ ( xyzTriple< T > const &  v,
Value const &  t 
)
friend

xyzTriple + Value

◆ operator- [1/3]

template<typename T >
xyzTriple operator- ( Value const &  t,
xyzTriple< T > const &  v 
)
friend

Value - xyzTriple.

◆ operator- [2/3]

template<typename T >
xyzTriple operator- ( xyzTriple< T > const &  a,
xyzTriple< T > const &  b 
)
friend

◆ operator- [3/3]

template<typename T >
xyzTriple operator- ( xyzTriple< T > const &  v,
Value const &  t 
)
friend

xyzTriple - Value

◆ operator/

template<typename T >
xyzTriple operator/ ( xyzTriple< T > const &  v,
Value const &  t 
)
friend

xyzTriple / Value

◆ operator< [1/3]

template<typename T >
bool operator< ( Value const &  t,
xyzTriple< T > const &  v 
)
friend

Value < xyzTriple.

◆ operator< [2/3]

template<typename T >
bool operator< ( xyzTriple< T > const &  a,
xyzTriple< T > const &  b 
)
friend

xyzTriple < xyzTriple: Lexicographic order

◆ operator< [3/3]

template<typename T >
bool operator< ( xyzTriple< T > const &  v,
Value const &  t 
)
friend

xyzTriple < Value

◆ operator<= [1/3]

template<typename T >
bool operator<= ( Value const &  t,
xyzTriple< T > const &  v 
)
friend

Value <= xyzTriple.

◆ operator<= [2/3]

template<typename T >
bool operator<= ( xyzTriple< T > const &  a,
xyzTriple< T > const &  b 
)
friend

◆ operator<= [3/3]

template<typename T >
bool operator<= ( xyzTriple< T > const &  v,
Value const &  t 
)
friend

xyzTriple <= Value

◆ operator== [1/3]

template<typename T >
bool operator== ( Value const &  t,
xyzTriple< T > const &  v 
)
friend

Value == xyzTriple.

◆ operator== [2/3]

template<typename T >
bool operator== ( xyzTriple< T > const &  a,
xyzTriple< T > const &  b 
)
friend

◆ operator== [3/3]

template<typename T >
bool operator== ( xyzTriple< T > const &  v,
Value const &  t 
)
friend

xyzTriple == Value

◆ operator> [1/3]

template<typename T >
bool operator> ( Value const &  t,
xyzTriple< T > const &  v 
)
friend

Value > xyzTriple.

◆ operator> [2/3]

template<typename T >
bool operator> ( xyzTriple< T > const &  a,
xyzTriple< T > const &  b 
)
friend

◆ operator> [3/3]

template<typename T >
bool operator> ( xyzTriple< T > const &  v,
Value const &  t 
)
friend

xyzTriple > Value

◆ operator>= [1/3]

template<typename T >
bool operator>= ( Value const &  t,
xyzTriple< T > const &  v 
)
friend

Value >= xyzTriple.

◆ operator>= [2/3]

template<typename T >
bool operator>= ( xyzTriple< T > const &  a,
xyzTriple< T > const &  b 
)
friend

◆ operator>= [3/3]

template<typename T >
bool operator>= ( xyzTriple< T > const &  v,
Value const &  t 
)
friend

xyzTriple >= Value

◆ sin_of [1/2]

template<typename T >
template<typename U >
U sin_of ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b 
)
friend

Sine of angle between two vectors.

◆ sin_of [2/2]

template<typename T >
template<typename U >
U sin_of ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b,
xyzTriple< U > const &  c 
)
friend

Sine of angle formed by three consecutive points.

Note
For points a, b, c, the angle is the angle between the vectors a - b and c - b in other words, the positive angle about b from a to c

◆ subtract [1/3]

template<typename T >
template<typename U >
void subtract ( U const &  t,
xyzTriple< U > const &  v,
xyzTriple< U > &  r 
)
friend

Subtract: Value - xyzTriple.

◆ subtract [2/3]

template<typename T >
template<typename U >
void subtract ( xyzTriple< U > const &  a,
xyzTriple< U > const &  b,
xyzTriple< U > &  r 
)
friend

Subtract: xyzTriple - xyzTriple.

◆ subtract [3/3]

template<typename T >
template<typename U >
void subtract ( xyzTriple< U > const &  v,
U const &  t,
xyzTriple< U > &  r 
)
friend

Subtract: xyzTriple - Value.

◆ xyzTriple

template<typename T >
template<typename >
friend class xyzTriple
friend

Member Data Documentation

◆ x_

template<typename T >
Value numeric::xyzTriple< T >::x_
private

Coordinates of the 3 coordinate vector.

Referenced by numeric::xyzTriple< T >::assign(), numeric::xyzTriple< T >::at(), numeric::xyzTriple< T >::clear(), numeric::xyzTriple< T >::cross(), numeric::xyzTriple< T >::cross_product(), numeric::xyzTriple< T >::distance(), numeric::xyzTriple< T >::distance_squared(), numeric::xyzTriple< T >::dot(), numeric::xyzTriple< T >::dot_product(), numeric::xyzTriple< T >::inner_product(), numeric::xyzTriple< T >::is_zero(), numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::length_squared(), numeric::xyzTriple< T >::magnitude(), numeric::xyzTriple< T >::magnitude_squared(), numeric::xyzTriple< T >::max(), numeric::xyzTriple< T >::min(), numeric::xyzTriple< T >::negate(), numeric::xyzTriple< T >::negated(), numeric::xyzTriple< T >::norm(), numeric::xyzTriple< T >::norm_squared(), numeric::xyzTriple< T >::normalize(), numeric::xyzTriple< T >::normalize_any(), numeric::xyzTriple< T >::normalize_or_zero(), numeric::xyzTriple< T >::normalized(), numeric::xyzTriple< T >::normalized_any(), numeric::xyzTriple< T >::normalized_or_zero(), numeric::xyzTriple< T >::operator()(), numeric::xyzTriple< T >::operator*=(), numeric::xyzTriple< T >::operator+=(), numeric::xyzTriple< T >::operator-(), numeric::xyzTriple< T >::operator-=(), numeric::xyzTriple< T >::operator/=(), numeric::xyzTriple< T >::operator=(), numeric::xyzTriple< T >::operator[](), numeric::xyzTriple< T >::project_normal(), numeric::xyzTriple< T >::project_parallel(), numeric::xyzTriple< T >::projected_normal(), numeric::xyzTriple< T >::scaled_add(), numeric::xyzTriple< T >::scaled_assign(), numeric::xyzTriple< T >::scaled_sub(), numeric::xyzTriple< T >::x(), and numeric::xyzTriple< T >::zero().

◆ y_

template<typename T >
Value numeric::xyzTriple< T >::y_
private

Referenced by numeric::xyzTriple< T >::assign(), numeric::xyzTriple< T >::at(), numeric::xyzTriple< T >::clear(), numeric::xyzTriple< T >::cross(), numeric::xyzTriple< T >::cross_product(), numeric::xyzTriple< T >::distance(), numeric::xyzTriple< T >::distance_squared(), numeric::xyzTriple< T >::dot(), numeric::xyzTriple< T >::dot_product(), numeric::xyzTriple< T >::inner_product(), numeric::xyzTriple< T >::is_zero(), numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::length_squared(), numeric::xyzTriple< T >::magnitude(), numeric::xyzTriple< T >::magnitude_squared(), numeric::xyzTriple< T >::max(), numeric::xyzTriple< T >::min(), numeric::xyzTriple< T >::negate(), numeric::xyzTriple< T >::negated(), numeric::xyzTriple< T >::norm(), numeric::xyzTriple< T >::norm_squared(), numeric::xyzTriple< T >::normalize(), numeric::xyzTriple< T >::normalize_any(), numeric::xyzTriple< T >::normalize_or_zero(), numeric::xyzTriple< T >::normalized(), numeric::xyzTriple< T >::normalized_any(), numeric::xyzTriple< T >::normalized_or_zero(), numeric::xyzTriple< T >::operator()(), numeric::xyzTriple< T >::operator*=(), numeric::xyzTriple< T >::operator+=(), numeric::xyzTriple< T >::operator-(), numeric::xyzTriple< T >::operator-=(), numeric::xyzTriple< T >::operator/=(), numeric::xyzTriple< T >::operator=(), numeric::xyzTriple< T >::operator[](), numeric::xyzTriple< T >::project_normal(), numeric::xyzTriple< T >::project_parallel(), numeric::xyzTriple< T >::projected_normal(), numeric::xyzTriple< T >::scaled_add(), numeric::xyzTriple< T >::scaled_assign(), numeric::xyzTriple< T >::scaled_sub(), numeric::xyzTriple< T >::y(), and numeric::xyzTriple< T >::zero().

◆ z_

template<typename T >
Value numeric::xyzTriple< T >::z_
private

Referenced by numeric::xyzTriple< T >::assign(), numeric::xyzTriple< T >::at(), numeric::xyzTriple< T >::clear(), numeric::xyzTriple< T >::cross(), numeric::xyzTriple< T >::cross_product(), numeric::xyzTriple< T >::distance(), numeric::xyzTriple< T >::distance_squared(), numeric::xyzTriple< T >::dot(), numeric::xyzTriple< T >::dot_product(), numeric::xyzTriple< T >::inner_product(), numeric::xyzTriple< T >::is_zero(), numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::length_squared(), numeric::xyzTriple< T >::magnitude(), numeric::xyzTriple< T >::magnitude_squared(), numeric::xyzTriple< T >::max(), numeric::xyzTriple< T >::min(), numeric::xyzTriple< T >::negate(), numeric::xyzTriple< T >::negated(), numeric::xyzTriple< T >::norm(), numeric::xyzTriple< T >::norm_squared(), numeric::xyzTriple< T >::normalize(), numeric::xyzTriple< T >::normalize_any(), numeric::xyzTriple< T >::normalize_or_zero(), numeric::xyzTriple< T >::normalized(), numeric::xyzTriple< T >::normalized_any(), numeric::xyzTriple< T >::normalized_or_zero(), numeric::xyzTriple< T >::operator()(), numeric::xyzTriple< T >::operator*=(), numeric::xyzTriple< T >::operator+=(), numeric::xyzTriple< T >::operator-(), numeric::xyzTriple< T >::operator-=(), numeric::xyzTriple< T >::operator/=(), numeric::xyzTriple< T >::operator=(), numeric::xyzTriple< T >::operator[](), numeric::xyzTriple< T >::project_normal(), numeric::xyzTriple< T >::project_parallel(), numeric::xyzTriple< T >::projected_normal(), numeric::xyzTriple< T >::scaled_add(), numeric::xyzTriple< T >::scaled_assign(), numeric::xyzTriple< T >::scaled_sub(), numeric::xyzTriple< T >::z(), and numeric::xyzTriple< T >::zero().


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