![]() |
Rosetta Utilities
2015.09
|
xyzVector: Fast (x,y,z)-coordinate numeric vector More...
#include <xyzVector.hh>
Public Types | |
typedef T | Value |
typedef T & | Reference |
typedef T const & | ConstReference |
typedef T * | Pointer |
typedef T const * | ConstPointer |
typedef T | value_type |
typedef T & | reference |
typedef T const & | const_reference |
typedef T * | pointer |
typedef T const * | const_pointer |
typedef void | iterator_category |
typedef void | difference_type |
Public Member Functions | |
xyzVector () | |
Default constructor. More... | |
xyzVector (xyzVector const &v) | |
Copy constructor. More... | |
template<typename U > | |
xyzVector (xyzVector< U > const &v) | |
Copy constructor. More... | |
xyzVector (Value const &t) | |
Uniform value constructor. More... | |
xyzVector (Value const &x_a, Value const &y_a, Value const &z_a) | |
Triple value constructor. More... | |
template<typename U > | |
xyzVector (U const *p) | |
Pointer to contiguous values constructor. More... | |
~xyzVector () | |
Destructor. More... | |
xyzVector & | operator= (xyzVector const &v) |
Copy assignment. More... | |
template<typename U > | |
xyzVector & | operator= (xyzVector< U > const &v) |
Copy assignment. More... | |
template<typename U > | |
xyzVector & | operator= (U const *p) |
Assignment from pointer to contiguous values. More... | |
template<typename U > | |
xyzVector & | operator+= (xyzVector< U > const &v) |
+= xyzVector More... | |
template<typename U > | |
xyzVector & | operator-= (xyzVector< U > const &v) |
-= xyzVector More... | |
template<typename U > | |
xyzVector & | scaled_assign (Value const &t, xyzVector< U > const &v) |
Assign Value * xyzVector. More... | |
template<typename U > | |
xyzVector & | scaled_add (Value const &t, xyzVector< U > const &v) |
Add Value * xyzVector. More... | |
template<typename U > | |
xyzVector & | scaled_sub (Value const &t, xyzVector< U > const &v) |
Subtract Value * xyzVector. More... | |
xyzVector & | operator= (Value const &t) |
= Value More... | |
xyzVector & | operator+= (Value const &t) |
+= Value More... | |
xyzVector & | operator-= (Value const &t) |
-= Value More... | |
xyzVector & | operator*= (Value const &t) |
*= Value More... | |
xyzVector & | operator/= (Value const &t) |
/= Value More... | |
xyzVector & | assign (Value const &x_a, Value const &y_a, Value const &z_a) |
Triple value assignment. More... | |
std::string | to_string () const |
to_string, useful for utility exits More... | |
void | show (std::ostream &output=std::cout) const |
Show. More... | |
xyzVector & | clear () |
Clear. More... | |
xyzVector & | zero () |
Zero. More... | |
xyzVector & | negate () |
Negate. More... | |
xyzVector | operator- () const |
-xyzVector (negated copy) More... | |
xyzVector | negated () const |
Negated copy. More... | |
void | negated (xyzVector &a) const |
Negated: Return via argument (slightly faster) More... | |
xyzVector & | min (xyzVector const &v) |
Set minimum coordinates wrt another xyzVector. More... | |
xyzVector & | max (xyzVector const &v) |
Set maximum coordinates wrt another xyzVector. More... | |
xyzVector & | normalize () |
Normalize. More... | |
T | minimum_value () const |
get the lowest of the three values in the vector More... | |
T | maximum_value () const |
get the highest of the three values in the vector More... | |
void | normalized (xyzVector &a) const |
Normalized. More... | |
xyzVector & | normalize_or_zero () |
Normalize: zero xyzVector if length is zero. More... | |
void | normalized_or_zero (xyzVector &a) const |
Normalized: zero xyzVector if length is zero. More... | |
xyzVector & | normalize_any () |
Normalize: arbitrary normalized xyzVector if length is zero. More... | |
void | normalized_any (xyzVector &a) const |
Normalized: arbitrary normalized xyzVector if length is zero. More... | |
xyzVector & | normalize (Value const &length_a) |
Normalize to a length. More... | |
void | normalized (Value const &length_a, xyzVector &a) const |
Normalized to a length. More... | |
xyzVector & | normalize_or_zero (Value const &length_a) |
Normalize to a length: zero xyzVector if length is zero. More... | |
void | normalized_or_zero (Value const &length_a, xyzVector &a) const |
Normalized to a length: zero xyzVector if length is zero. More... | |
xyzVector & | normalize_any (Value const &length_a) |
Normalize to a length: arbitrary normalized xyzVector if length is zero. More... | |
void | normalized_any (Value const &length_a, xyzVector &a) const |
Normalized to a length: arbitrary normalized xyzVector if length is zero. More... | |
xyzVector | normalized () const |
Normalized copy. More... | |
xyzVector | normalized_or_zero () const |
Normalized copy: Zero xyzVector if length is zero. More... | |
xyzVector | normalized_any () const |
Normalized copy: Arbitrary normalized xyzVector if length is zero. More... | |
xyzVector | normalized (Value const &length_a) const |
Normalized to a length copy. More... | |
xyzVector | normalized_or_zero (Value const &length_a) const |
Normalized to a length copy: Zero xyzVector if length is zero. More... | |
xyzVector | normalized_any (Value const &length_a) const |
Normalized to a length copy: Arbitrary normalized xyzVector if length is zero. More... | |
xyzVector & | project_normal (xyzVector const &v) |
Project normal. More... | |
xyzVector | projected_normal (xyzVector const &v) const |
Projected normal copy. More... | |
void | projected_normal (xyzVector const &v, xyzVector &a) const |
Projected normal. More... | |
xyzVector & | project_parallel (xyzVector const &v) |
Project parallel. More... | |
xyzVector | projected_parallel (xyzVector const &v) const |
Projected parallel copy. More... | |
void | projected_parallel (xyzVector const &v, xyzVector &a) |
Projected parallel. More... | |
Value | distance (xyzVector const &v) const |
Distance. More... | |
Value | distance_squared (xyzVector const &v) const |
Distance. More... | |
Value | dot (xyzVector const &v) const |
Distance squared. More... | |
Value | dot_product (xyzVector const &v) const |
Dot product. More... | |
Value | inner_product (xyzVector const &v) const |
Inner product ( == dot product ) More... | |
xyzVector | cross (xyzVector const &v) const |
Cross product. More... | |
xyzVector | cross_product (xyzVector 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... | |
Value & | x () |
Value x. More... | |
Value const & | y () const |
Value y const. More... | |
Value & | y () |
Value y. More... | |
Value const & | z () const |
Value z const. More... | |
Value & | z () |
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... | |
Value & | at (int const i) |
xyzVector.at: 0-based index with bounds checking More... | |
Value const & | operator[] (int const i) const |
xyzVector[ i ] const: 0-based index More... | |
Value & | operator[] (int const i) |
xyzVector[ i ]: 0-based index More... | |
Value const & | operator() (int const i) const |
xyzVector( i ) const: 1-based index More... | |
Value & | operator() (int const i) |
xyzVector( i ): 1-based index More... | |
bool | equal_length (xyzVector const &v) |
Equal length? More... | |
bool | not_equal_length (xyzVector const &v) |
Not equal length? More... | |
bool | longer (xyzVector const &v) |
Longer? More... | |
bool | longer_or_equal (xyzVector const &v) |
Longer or equal length? More... | |
bool | shorter (xyzVector const &v) |
Shorter? More... | |
bool | shorter_or_equal (xyzVector 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 | xyzVector |
template<typename > | |
class | xyzMatrix |
xyzVector< T > | operator* (xyzMatrix< T > const &m, xyzVector< T > const &v) |
xyzMatrix * xyzVector More... | |
xyzVector< T > | product (xyzMatrix< T > const &m, xyzVector< T > const &v) |
xyzMatrix * xyzVector product More... | |
xyzVector< T > & | inplace_product (xyzMatrix< T > const &m, xyzVector< T > &v) |
xyzMatrix * xyzVector in-place product More... | |
xyzVector< T > | transpose_product (xyzMatrix< T > const &m, xyzVector< T > const &v) |
xyzMatrix^T * xyzVector product More... | |
xyzVector< T > & | inplace_transpose_product (xyzMatrix< T > const &m, xyzVector< T > &v) |
xyzMatrix^T * xyzVector in-place transpose product More... | |
xyzMatrix< T > | outer_product (xyzVector< T > const &a, xyzVector< T > const &b) |
xyzVector xyzVector outer product More... | |
xyzMatrix< T > | projection_matrix (xyzVector< T > const &v) |
geometric center More... | |
xyzMatrix< T > | rotation_matrix (xyzVector< T > const &axis, T const &theta) |
Rotation matrix for rotation about an axis by an angle in radians. More... | |
xyzVector | operator+ (xyzVector const &a, xyzVector const &b) |
xyzVector + xyzVector More... | |
xyzVector | operator+ (xyzVector const &v, Value const &t) |
xyzVector + Value More... | |
xyzVector | operator+ (Value const &t, xyzVector const &v) |
Value + xyzVector. More... | |
xyzVector | operator- (xyzVector const &a, xyzVector const &b) |
xyzVector - xyzVector More... | |
xyzVector | operator- (xyzVector const &v, Value const &t) |
xyzVector - Value More... | |
xyzVector | operator- (Value const &t, xyzVector const &v) |
Value - xyzVector. More... | |
xyzVector | operator* (xyzVector const &v, Value const &t) |
xyzVector * Value More... | |
xyzVector | operator* (Value const &t, xyzVector const &v) |
Value * xyzVector. More... | |
xyzVector | operator/ (xyzVector const &v, Value const &t) |
xyzVector / Value More... | |
void | add (xyzVector const &a, xyzVector const &b, xyzVector &r) |
Add: xyzVector + xyzVector. More... | |
void | add (xyzVector const &v, Value const &t, xyzVector &r) |
Add: xyzVector + Value. More... | |
void | add (Value const &t, xyzVector const &v, xyzVector &r) |
Add: Value + xyzVector. More... | |
void | subtract (xyzVector const &a, xyzVector const &b, xyzVector &r) |
Subtract: xyzVector - xyzVector. More... | |
void | subtract (xyzVector const &v, Value const &t, xyzVector &r) |
Subtract: xyzVector - Value. More... | |
void | subtract (Value const &t, xyzVector const &v, xyzVector &r) |
Subtract: Value - xyzVector. More... | |
void | multiply (xyzVector const &v, Value const &t, xyzVector &r) |
Multiply: xyzVector * Value. More... | |
void | multiply (Value const &t, xyzVector const &v, xyzVector &r) |
Multiply: Value * xyzVector. More... | |
void | divide (xyzVector const &v, Value const &t, xyzVector &r) |
Divide: xyzVector / Value. More... | |
xyzVector | min (xyzVector const &a, xyzVector const &b) |
xyzVector with min coordinates of two xyzVectors More... | |
xyzVector | max (xyzVector const &a, xyzVector const &b) |
xyzVector with max coordinates of two xyzVectors More... | |
Value | dot (xyzVector const &a, xyzVector const &b) |
Dot product. More... | |
Value | dot_product (xyzVector const &a, xyzVector const &b) |
Dot product. More... | |
Value | inner_product (xyzVector const &a, xyzVector const &b) |
Inner product ( == dot product ) More... | |
xyzVector | cross (xyzVector const &a, xyzVector const &b) |
Cross product. More... | |
xyzVector | cross_product (xyzVector const &a, xyzVector const &b) |
Cross product. More... | |
void | cross (xyzVector const &a, xyzVector const &b, xyzVector &c) |
Cross product: Return via argument (slightly faster) More... | |
void | cross_product (xyzVector const &a, xyzVector const &b, xyzVector &c) |
Cross product: Return via argument (slightly faster) More... | |
xyzVector | midpoint (xyzVector const &a, xyzVector const &b) |
Midpoint of 2 xyzVectors. More... | |
void | midpoint (xyzVector const &a, xyzVector const &b, xyzVector &m) |
Midpoint of 2 xyzVectors: Return via argument (slightly faster) More... | |
xyzVector | center (xyzVector const &a, xyzVector const &b) |
Center of 2 xyzVectors. More... | |
void | center (xyzVector const &a, xyzVector const &b, xyzVector &m) |
Center of 2 xyzVectors: Return via argument (slightly faster) More... | |
xyzVector | center (xyzVector const &a, xyzVector const &b, xyzVector const &c) |
Center of 3 xyzVectors. More... | |
void | center (xyzVector const &a, xyzVector const &b, xyzVector const &c, xyzVector &m) |
Center of 3 xyzVectors: Return via argument (slightly faster) More... | |
xyzVector | center (xyzVector const &a, xyzVector const &b, xyzVector const &c, xyzVector const &d) |
Center of 4 xyzVectors. More... | |
void | center (xyzVector const &a, xyzVector const &b, xyzVector const &c, xyzVector const &d, xyzVector &m) |
Center of 4 xyzVectors: Return via argument (slightly faster) More... | |
Value | angle_of (xyzVector const &a, xyzVector const &b) |
Angle between two vectors (in radians on [ 0, pi ]) More... | |
Value | angle_of (xyzVector const &a, xyzVector const &b, xyzVector const &c) |
Angle formed by three consecutive points (in radians on [ 0, pi ]) More... | |
Value | cos_of (xyzVector const &a, xyzVector const &b) |
Cosine of angle between two vectors. More... | |
Value | cos_of (xyzVector const &a, xyzVector const &b, xyzVector const &c) |
Cosine of angle formed by three consecutive points. More... | |
Value | sin_of (xyzVector const &a, xyzVector const &b) |
Sine of angle between two vectors. More... | |
Value | sin_of (xyzVector const &a, xyzVector const &b, xyzVector const &c) |
Sine of angle formed by three consecutive points. More... | |
bool | operator== (xyzVector const &a, xyzVector const &b) |
xyzVector == xyzVector More... | |
bool | operator!= (xyzVector const &a, xyzVector const &b) |
xyzVector != xyzVector More... | |
bool | operator< (xyzVector const &a, xyzVector const &b) |
xyzVector < xyzVector More... | |
bool | operator<= (xyzVector const &a, xyzVector const &b) |
xyzVector <= xyzVector More... | |
bool | operator>= (xyzVector const &a, xyzVector const &b) |
xyzVector >= xyzVector More... | |
bool | operator> (xyzVector const &a, xyzVector const &b) |
xyzVector > xyzVector More... | |
bool | operator== (xyzVector const &v, Value const &t) |
xyzVector == Value More... | |
bool | operator!= (xyzVector const &v, Value const &t) |
xyzVector != Value More... | |
bool | operator< (xyzVector const &v, Value const &t) |
xyzVector < Value More... | |
bool | operator<= (xyzVector const &v, Value const &t) |
xyzVector <= Value More... | |
bool | operator>= (xyzVector const &v, Value const &t) |
xyzVector >= Value More... | |
bool | operator> (xyzVector const &v, Value const &t) |
xyzVector > Value More... | |
bool | operator== (Value const &t, xyzVector const &v) |
Value == xyzVector. More... | |
bool | operator!= (Value const &t, xyzVector const &v) |
Value != xyzVector. More... | |
bool | operator< (Value const &t, xyzVector const &v) |
Value < xyzVector. More... | |
bool | operator<= (Value const &t, xyzVector const &v) |
Value <= xyzVector. More... | |
bool | operator>= (Value const &t, xyzVector const &v) |
Value >= xyzVector. More... | |
bool | operator> (Value const &t, xyzVector const &v) |
Value > xyzVector. More... | |
bool | equal_length (xyzVector const &a, xyzVector const &b) |
Equal length? More... | |
bool | not_equal_length (xyzVector const &a, xyzVector const &b) |
Not equal length? More... | |
template<typename U > | |
platform::Size | hash_value (xyzVector< U > const &v) |
Hashing of coords using boost::hash. More... | |
xyzVector: Fast (x,y,z)-coordinate numeric vector
typedef T const* numeric::xyzVector< typename >::const_pointer |
typedef T const& numeric::xyzVector< typename >::const_reference |
typedef T const* numeric::xyzVector< typename >::ConstPointer |
typedef T const& numeric::xyzVector< typename >::ConstReference |
typedef void numeric::xyzVector< typename >::difference_type |
typedef void numeric::xyzVector< typename >::iterator_category |
typedef T* numeric::xyzVector< typename >::Pointer |
typedef T* numeric::xyzVector< typename >::pointer |
typedef T& numeric::xyzVector< typename >::Reference |
typedef T& numeric::xyzVector< typename >::reference |
typedef T numeric::xyzVector< typename >::Value |
typedef T numeric::xyzVector< typename >::value_type |
|
inline |
Default constructor.
Referenced by numeric::xyzVector< T >::cross(), numeric::xyzVector< T >::cross_product(), numeric::xyzVector< T >::negated(), numeric::xyzVector< T >::normalized(), numeric::xyzVector< T >::normalized_any(), numeric::xyzVector< T >::normalized_or_zero(), numeric::xyzVector< T >::operator-(), numeric::xyzVector< T >::projected_normal(), and numeric::xyzVector< T >::projected_parallel().
|
inline |
Copy constructor.
|
inline |
Copy constructor.
|
inlineexplicit |
Uniform value constructor.
|
inline |
Triple value constructor.
|
inlineexplicit |
Pointer to contiguous values constructor.
|
inline |
Destructor.
|
inline |
Triple value assignment.
Referenced by numeric::Quaternion< T >::axis(), and numeric::crick_equations::XYZ_BUNDLE().
|
inline |
xyzVector.at: 0-based index with bounds checking
|
inline |
xyzVector.at: 0-based index with bounds checking
|
inline |
Clear.
|
inline |
|
inline |
Cross product.
|
inline |
Distance.
|
inline |
Distance.
Distance squared
Referenced by numeric::xyzTransform< numeric::Real >::approx_lever_distance(), numeric::xyzTransform< numeric::Real >::distance_squared(), and numeric::HomogeneousTransform< double >::HomogeneousTransform().
|
inline |
Distance squared.
Dot product
Referenced by numeric::HomogeneousTransform< double >::HomogeneousTransform(), numeric::xyzVector< T >::project_normal(), numeric::xyzVector< T >::project_parallel(), numeric::xyzVector< T >::projected_normal(), numeric::xyzVector< T >::projected_parallel(), numeric::xyzTransform< numeric::Real >::rotation_axis(), and numeric::HomogeneousTransform< double >::to_local_coordinate().
|
inline |
Dot product.
|
inline |
Equal length?
|
inline |
Inner product ( == dot product )
|
inline |
Is exactly normalized?
Referenced by numeric::BodyPosition< typename >::BodyPosition().
|
inline |
Is normalized to within a tolerance?
|
inline |
Is exactly a unit vector?
Referenced by numeric::ccd_angle().
|
inline |
Is a unit vector to within a tolerance?
|
inline |
Is zero?
|
inline |
Length.
Referenced by numeric::deriv::angle_p1_deriv(), numeric::deriv::angle_p1_p2_p3_deriv(), numeric::deriv::angle_p2_deriv(), numeric::ccd_angle(), numeric::deriv::dihedral_p1_cosine_deriv_first(), numeric::deriv::dihedral_p2_cosine_deriv_first(), numeric::deriv::distance_f1_f2_deriv(), numeric::xyzVector< T >::normalize(), numeric::xyzVector< T >::normalize_any(), numeric::xyzVector< T >::normalize_or_zero(), numeric::xyzVector< T >::normalized(), numeric::xyzVector< T >::normalized_any(), numeric::xyzVector< T >::normalized_or_zero(), numeric::operator<<(), and numeric::deriv::p1_theta_deriv().
|
inline |
Length squared.
Referenced by numeric::xyzVector< T >::equal_length(), numeric::xyzVector< T >::is_normalized(), numeric::xyzVector< T >::is_unit(), numeric::xyzVector< T >::longer(), numeric::xyzVector< T >::longer_or_equal(), numeric::xyzVector< T >::not_equal_length(), numeric::projection_matrix(), numeric::xyzVector< T >::shorter(), and numeric::xyzVector< T >::shorter_or_equal().
|
inline |
Longer?
|
inline |
Longer or equal length?
|
inline |
Magnitude.
Referenced by numeric::rotation_matrix().
|
inline |
Magnitude squared.
Referenced by numeric::closest_point_on_line().
|
inline |
Set maximum coordinates wrt another xyzVector.
|
inline |
get the highest of the three values in the vector
Referenced by numeric::rgb_to_hsv().
|
inline |
Set minimum coordinates wrt another xyzVector.
|
inline |
get the lowest of the three values in the vector
Referenced by numeric::rgb_to_hsv().
|
inline |
Negate.
|
inline |
Negated copy.
|
inline |
Negated: Return via argument (slightly faster)
|
inline |
Norm.
|
inline |
Norm squared.
|
inline |
|
inline |
Normalize to a length.
|
inline |
Normalize: arbitrary normalized xyzVector if length is zero.
|
inline |
Normalize to a length: arbitrary normalized xyzVector if length is zero.
|
inline |
Normalize: zero xyzVector if length is zero.
Referenced by numeric::Quaternion< T >::axis().
|
inline |
Normalize to a length: zero xyzVector if length is zero.
|
inline |
|
inline |
Normalized to a length.
|
inline |
Normalized copy.
|
inline |
Normalized to a length copy.
|
inline |
Normalized: arbitrary normalized xyzVector if length is zero.
|
inline |
Normalized to a length: arbitrary normalized xyzVector if length is zero.
|
inline |
Normalized copy: Arbitrary normalized xyzVector if length is zero.
|
inline |
Normalized to a length copy: Arbitrary normalized xyzVector if length is zero.
|
inline |
Normalized: zero xyzVector if length is zero.
|
inline |
Normalized to a length: zero xyzVector if length is zero.
|
inline |
Normalized copy: Zero xyzVector if length is zero.
|
inline |
Normalized to a length copy: Zero xyzVector if length is zero.
|
inline |
Not equal length?
|
inline |
xyzVector( i ) const: 1-based index
|
inline |
xyzVector( i ): 1-based index
|
inline |
*= Value
|
inline |
+= xyzVector
|
inline |
+= Value
|
inline |
-xyzVector (negated copy)
|
inline |
-= xyzVector
|
inline |
-= Value
|
inline |
/= Value
|
inline |
Copy assignment.
|
inline |
Copy assignment.
|
inline |
Assignment from pointer to contiguous values.
|
inline |
= Value
|
inline |
xyzVector[ i ] const: 0-based index
|
inline |
xyzVector[ i ]: 0-based index
|
inline |
Project normal.
|
inline |
Project parallel.
|
inline |
Projected normal copy.
|
inline |
Projected normal.
|
inline |
Projected parallel copy.
|
inline |
Projected parallel.
|
inline |
|
inline |
|
inline |
|
inline |
Shorter?
|
inline |
Shorter or equal length?
|
inline |
Show.
|
inlinestaticprivate |
square( t ) == t * t
Referenced by numeric::xyzVector< T >::distance(), and numeric::xyzVector< T >::distance_squared().
|
inline |
to_string, useful for utility exits
|
inline |
Value x const.
Referenced by numeric::geometry::hashing::SixDCoordinateBinner::bin6(), numeric::geometry::hashing::xyzStripeHash::clash(), numeric::geometry::hashing::xyzStripeHash::clash_amount(), numeric::geometry::hashing::xyzStripeHash::clash_check_ball(), numeric::geometry::hashing::xyzStripeHash::clash_not_resid(), numeric::geometry::hashing::xyzStripeHash::clash_raw(), numeric::geometry::hashing::xyzStripeHash::debug_pdb(), numeric::deserialize(), numeric::geometry::hashing::xyzStripeHash::fill_pairs(), numeric::EulerAngles< typename >::from_degrees(), numeric::xyzTransform< numeric::Real >::from_euler_angles_rad(), numeric::xyzTransform< numeric::Real >::hash64(), numeric::HomogeneousTransform< double >::HomogeneousTransform(), numeric::hsv_to_rgb(), numeric::geometry::hashing::xyzStripeHash::init(), numeric::geometry::hashing::xyzStripeHashWithMeta< float >::init(), numeric::xyzTransform< numeric::Real >::intersect3D_2Planes(), numeric::geometry::hashing::xyzStripeHash::nbcount(), numeric::geometry::hashing::xyzStripeHashWithMeta< float >::nbcount(), numeric::geometry::hashing::xyzStripeHash::nbcount_raw(), numeric::HomogeneousTransform< double >::operator*(), numeric::operator<<(), numeric::operator>>(), numeric::principal_components_and_eigenvalues(), basic::sampling::orientations::Quaternion::PrintEuler(), numeric::xyzTransform< numeric::Real >::px(), numeric::rgb_to_hsv(), numeric::xyzTransform< numeric::Real >::rt6(), numeric::serialize(), numeric::HomogeneousTransform< double >::set_point(), numeric::HomogeneousTransform< double >::set_transform(), numeric::spherical_to_xyz(), numeric::geometry::hashing::xyzStripeHash::translation_real(), numeric::truncate_and_serialize_xyz_vector(), numeric::geometry::hashing::xyzStripeHash::visit(), numeric::geometry::hashing::xyzStripeHashWithMeta< float >::visit(), numeric::geometry::hashing::xyzStripeHash::visit_lax(), numeric::geometry::hashing::xyzStripeHashWithMeta< float >::visit_lax(), numeric::xyzTransform< numeric::Real >::x(), numeric::crick_equations::XYZ_BUNDLE(), and numeric::xyz_to_spherical().
|
inline |
Value x.
|
inline |
x assignment
|
inline |
Value y const.
Referenced by numeric::geometry::hashing::SixDCoordinateBinner::bin6(), numeric::geometry::hashing::xyzStripeHash::clash(), numeric::geometry::hashing::xyzStripeHash::clash_amount(), numeric::geometry::hashing::xyzStripeHash::clash_check_ball(), numeric::geometry::hashing::xyzStripeHash::clash_not_resid(), numeric::geometry::hashing::xyzStripeHash::clash_raw(), numeric::geometry::hashing::xyzStripeHash::debug_pdb(), numeric::deserialize(), numeric::geometry::hashing::xyzStripeHash::fill_pairs(), numeric::EulerAngles< typename >::from_degrees(), numeric::xyzTransform< numeric::Real >::from_euler_angles_rad(), numeric::xyzTransform< numeric::Real >::hash64(), numeric::HomogeneousTransform< double >::HomogeneousTransform(), numeric::hsv_to_rgb(), numeric::geometry::hashing::xyzStripeHash::init(), numeric::geometry::hashing::xyzStripeHashWithMeta< float >::init(), numeric::xyzTransform< numeric::Real >::intersect3D_2Planes(), numeric::geometry::hashing::xyzStripeHash::nbcount(), numeric::geometry::hashing::xyzStripeHashWithMeta< float >::nbcount(), numeric::geometry::hashing::xyzStripeHash::nbcount_raw(), numeric::HomogeneousTransform< double >::operator*(), numeric::operator>>(), numeric::principal_components_and_eigenvalues(), basic::sampling::orientations::Quaternion::PrintEuler(), numeric::xyzTransform< numeric::Real >::py(), numeric::rgb_to_hsv(), numeric::xyzTransform< numeric::Real >::rt6(), numeric::serialize(), numeric::HomogeneousTransform< double >::set_point(), numeric::HomogeneousTransform< double >::set_transform(), numeric::spherical_to_xyz(), numeric::geometry::hashing::xyzStripeHash::translation_real(), numeric::truncate_and_serialize_xyz_vector(), numeric::geometry::hashing::xyzStripeHash::visit(), numeric::geometry::hashing::xyzStripeHashWithMeta< float >::visit(), numeric::geometry::hashing::xyzStripeHash::visit_lax(), numeric::geometry::hashing::xyzStripeHashWithMeta< float >::visit_lax(), numeric::crick_equations::XYZ_BUNDLE(), numeric::xyz_to_spherical(), and numeric::xyzTransform< numeric::Real >::y().
|
inline |
Value y.
|
inline |
y assignment
|
inline |
Value z const.
Referenced by numeric::geometry::hashing::SixDCoordinateBinner::bin6(), numeric::geometry::hashing::xyzStripeHash::clash(), numeric::geometry::hashing::xyzStripeHash::clash_amount(), numeric::geometry::hashing::xyzStripeHash::clash_check_ball(), numeric::geometry::hashing::xyzStripeHash::clash_not_resid(), numeric::geometry::hashing::xyzStripeHash::clash_raw(), numeric::geometry::hashing::xyzStripeHash::debug_pdb(), numeric::deserialize(), numeric::geometry::hashing::xyzStripeHash::fill_pairs(), numeric::EulerAngles< typename >::from_degrees(), numeric::xyzTransform< numeric::Real >::from_euler_angles_rad(), numeric::xyzTransform< numeric::Real >::hash64(), numeric::HomogeneousTransform< double >::HomogeneousTransform(), numeric::hsv_to_rgb(), numeric::geometry::hashing::xyzStripeHash::init(), numeric::geometry::hashing::xyzStripeHashWithMeta< float >::init(), numeric::xyzTransform< numeric::Real >::intersect3D_2Planes(), numeric::geometry::hashing::xyzStripeHash::nbcount(), numeric::geometry::hashing::xyzStripeHashWithMeta< float >::nbcount(), numeric::geometry::hashing::xyzStripeHash::nbcount_raw(), numeric::HomogeneousTransform< double >::operator*(), numeric::operator>>(), numeric::principal_components_and_eigenvalues(), basic::sampling::orientations::Quaternion::PrintEuler(), numeric::xyzTransform< numeric::Real >::pz(), numeric::rgb_to_hsv(), numeric::xyzTransform< numeric::Real >::rt6(), numeric::serialize(), numeric::HomogeneousTransform< double >::set_point(), numeric::HomogeneousTransform< double >::set_transform(), numeric::spherical_to_xyz(), numeric::geometry::hashing::xyzStripeHash::translation_real(), numeric::truncate_and_serialize_xyz_vector(), numeric::geometry::hashing::xyzStripeHash::visit(), numeric::geometry::hashing::xyzStripeHashWithMeta< float >::visit(), numeric::geometry::hashing::xyzStripeHash::visit_lax(), numeric::geometry::hashing::xyzStripeHashWithMeta< float >::visit_lax(), numeric::crick_equations::XYZ_BUNDLE(), numeric::xyz_to_spherical(), and numeric::xyzTransform< numeric::Real >::z().
|
inline |
Value z.
|
inline |
z assignment
|
inline |
Zero.
|
friend |
Add: xyzVector + Value.
|
friend |
Add: Value + xyzVector.
|
friend |
Angle between two vectors (in radians on [ 0, pi ])
|
friend |
Angle formed by three consecutive points (in radians on [ 0, pi ])
|
friend |
Center of 2 xyzVectors.
|
friend |
Center of 2 xyzVectors: Return via argument (slightly faster)
|
friend |
Center of 3 xyzVectors.
|
friend |
Center of 3 xyzVectors: Return via argument (slightly faster)
|
friend |
Center of 4 xyzVectors.
|
friend |
Center of 4 xyzVectors: Return via argument (slightly faster)
|
friend |
Cosine of angle between two vectors.
|
friend |
Cosine of angle formed by three consecutive points.
|
friend |
Cross product.
|
friend |
Cross product: Return via argument (slightly faster)
|
friend |
Cross product.
|
friend |
Cross product: Return via argument (slightly faster)
|
friend |
Divide: xyzVector / Value.
|
friend |
Dot product.
|
friend |
Dot product.
|
friend |
Equal length?
|
friend |
Hashing of coords using boost::hash.
|
friend |
Inner product ( == dot product )
|
friend |
xyzVector with max coordinates of two xyzVectors
|
friend |
Midpoint of 2 xyzVectors.
|
friend |
Midpoint of 2 xyzVectors: Return via argument (slightly faster)
|
friend |
xyzVector with min coordinates of two xyzVectors
|
friend |
Multiply: xyzVector * Value.
|
friend |
Multiply: Value * xyzVector.
|
friend |
Not equal length?
xyzVector != Value
Value != xyzVector.
xyzVector * Value
Value * xyzVector.
xyzVector + Value
Value + xyzVector.
xyzVector - Value
Value - xyzVector.
xyzVector / Value
xyzVector < Value
Value < xyzVector.
xyzVector <= Value
Value <= xyzVector.
xyzVector == Value
Value == xyzVector.
xyzVector > Value
Value > xyzVector.
xyzVector >= Value
Value >= xyzVector.
geometric center
|
friend |
Rotation matrix for rotation about an axis by an angle in radians.
|
friend |
Sine of angle between two vectors.
|
friend |
Sine of angle formed by three consecutive points.
|
friend |
Subtract: xyzVector - Value.
|
friend |
Subtract: Value - xyzVector.
|
friend |
xyzMatrix^T * xyzVector product
|
private |
Coordinates of the 3 coordinate vector.
Referenced by numeric::xyzMatrix< T >::add_diagonal(), numeric::xyzVector< T >::assign(), numeric::xyzVector< T >::at(), numeric::xyzVector< T >::clear(), numeric::xyzMatrix< T >::col(), numeric::xyzMatrix< T >::col_x(), numeric::xyzMatrix< T >::col_y(), numeric::xyzMatrix< T >::col_z(), numeric::xyzMatrix< T >::cols_constructor(), numeric::xyzVector< T >::cross(), numeric::xyzVector< T >::cross_product(), numeric::xyzMatrix< T >::diag(), numeric::xyzVector< T >::distance(), numeric::xyzVector< T >::distance_squared(), numeric::xyzVector< T >::dot(), numeric::xyzVector< T >::dot_product(), numeric::hash_value(), numeric::xyzVector< T >::inner_product(), numeric::inplace_product(), numeric::inplace_transpose_product(), numeric::xyzVector< T >::is_zero(), numeric::xyzVector< T >::length(), numeric::xyzVector< T >::length_squared(), numeric::xyzVector< T >::magnitude(), numeric::xyzVector< T >::magnitude_squared(), numeric::xyzVector< T >::max(), numeric::xyzVector< T >::maximum_value(), numeric::xyzVector< T >::min(), numeric::xyzVector< T >::minimum_value(), numeric::xyzVector< T >::negate(), numeric::xyzVector< T >::negated(), numeric::xyzVector< T >::norm(), numeric::xyzVector< T >::norm_squared(), numeric::xyzVector< T >::normalize(), numeric::xyzVector< T >::normalize_any(), numeric::xyzVector< T >::normalize_or_zero(), numeric::xyzVector< T >::normalized(), numeric::xyzVector< T >::normalized_any(), numeric::xyzVector< T >::normalized_or_zero(), numeric::xyzVector< T >::operator()(), numeric::operator*(), numeric::xyzVector< T >::operator*=(), numeric::xyzVector< T >::operator+=(), numeric::xyzVector< T >::operator-(), numeric::xyzVector< T >::operator-=(), numeric::xyzVector< T >::operator/=(), numeric::xyzVector< T >::operator=(), numeric::xyzVector< T >::operator[](), numeric::outer_product(), numeric::product(), numeric::xyzVector< T >::project_normal(), numeric::xyzVector< T >::project_parallel(), numeric::xyzVector< T >::projected_normal(), numeric::projection_matrix(), numeric::rotation_matrix(), numeric::xyzMatrix< T >::row(), numeric::xyzMatrix< T >::row_x(), numeric::xyzMatrix< T >::row_y(), numeric::xyzMatrix< T >::row_z(), numeric::xyzMatrix< T >::rows_constructor(), numeric::xyzVector< T >::scaled_add(), numeric::xyzVector< T >::scaled_assign(), numeric::xyzVector< T >::scaled_sub(), numeric::xyzMatrix< T >::set_diagonal(), numeric::xyzVector< T >::show(), numeric::xyzMatrix< T >::subtract_diagonal(), numeric::xyzMatrix< T >::to_diag(), numeric::xyzVector< T >::to_string(), numeric::transpose_product(), numeric::xyzVector< T >::x(), and numeric::xyzVector< T >::zero().
|
private |
Referenced by numeric::xyzMatrix< T >::add_diagonal(), numeric::xyzVector< T >::assign(), numeric::xyzVector< T >::at(), numeric::xyzVector< T >::clear(), numeric::xyzMatrix< T >::col(), numeric::xyzMatrix< T >::col_x(), numeric::xyzMatrix< T >::col_y(), numeric::xyzMatrix< T >::col_z(), numeric::xyzMatrix< T >::cols_constructor(), numeric::xyzVector< T >::cross(), numeric::xyzVector< T >::cross_product(), numeric::xyzMatrix< T >::diag(), numeric::xyzVector< T >::distance(), numeric::xyzVector< T >::distance_squared(), numeric::xyzVector< T >::dot(), numeric::xyzVector< T >::dot_product(), numeric::hash_value(), numeric::xyzVector< T >::inner_product(), numeric::inplace_product(), numeric::inplace_transpose_product(), numeric::xyzVector< T >::is_zero(), numeric::xyzVector< T >::length(), numeric::xyzVector< T >::length_squared(), numeric::xyzVector< T >::magnitude(), numeric::xyzVector< T >::magnitude_squared(), numeric::xyzVector< T >::max(), numeric::xyzVector< T >::maximum_value(), numeric::xyzVector< T >::min(), numeric::xyzVector< T >::minimum_value(), numeric::xyzVector< T >::negate(), numeric::xyzVector< T >::negated(), numeric::xyzVector< T >::norm(), numeric::xyzVector< T >::norm_squared(), numeric::xyzVector< T >::normalize(), numeric::xyzVector< T >::normalize_any(), numeric::xyzVector< T >::normalize_or_zero(), numeric::xyzVector< T >::normalized(), numeric::xyzVector< T >::normalized_any(), numeric::xyzVector< T >::normalized_or_zero(), numeric::xyzVector< T >::operator()(), numeric::operator*(), numeric::xyzVector< T >::operator*=(), numeric::xyzVector< T >::operator+=(), numeric::xyzVector< T >::operator-(), numeric::xyzVector< T >::operator-=(), numeric::xyzVector< T >::operator/=(), numeric::xyzVector< T >::operator=(), numeric::xyzVector< T >::operator[](), numeric::outer_product(), numeric::product(), numeric::xyzVector< T >::project_normal(), numeric::xyzVector< T >::project_parallel(), numeric::xyzVector< T >::projected_normal(), numeric::projection_matrix(), numeric::rotation_matrix(), numeric::xyzMatrix< T >::row(), numeric::xyzMatrix< T >::row_x(), numeric::xyzMatrix< T >::row_y(), numeric::xyzMatrix< T >::row_z(), numeric::xyzMatrix< T >::rows_constructor(), numeric::xyzVector< T >::scaled_add(), numeric::xyzVector< T >::scaled_assign(), numeric::xyzVector< T >::scaled_sub(), numeric::xyzMatrix< T >::set_diagonal(), numeric::xyzVector< T >::show(), numeric::xyzMatrix< T >::subtract_diagonal(), numeric::xyzMatrix< T >::to_diag(), numeric::xyzVector< T >::to_string(), numeric::transpose_product(), numeric::xyzVector< T >::y(), and numeric::xyzVector< T >::zero().
|
private |
Referenced by numeric::xyzMatrix< T >::add_diagonal(), numeric::xyzVector< T >::assign(), numeric::xyzVector< T >::at(), numeric::xyzVector< T >::clear(), numeric::xyzMatrix< T >::col(), numeric::xyzMatrix< T >::col_x(), numeric::xyzMatrix< T >::col_y(), numeric::xyzMatrix< T >::col_z(), numeric::xyzMatrix< T >::cols_constructor(), numeric::xyzVector< T >::cross(), numeric::xyzVector< T >::cross_product(), numeric::xyzMatrix< T >::diag(), numeric::xyzVector< T >::distance(), numeric::xyzVector< T >::distance_squared(), numeric::xyzVector< T >::dot(), numeric::xyzVector< T >::dot_product(), numeric::hash_value(), numeric::xyzVector< T >::inner_product(), numeric::inplace_product(), numeric::inplace_transpose_product(), numeric::xyzVector< T >::is_zero(), numeric::xyzVector< T >::length(), numeric::xyzVector< T >::length_squared(), numeric::xyzVector< T >::magnitude(), numeric::xyzVector< T >::magnitude_squared(), numeric::xyzVector< T >::max(), numeric::xyzVector< T >::maximum_value(), numeric::xyzVector< T >::min(), numeric::xyzVector< T >::minimum_value(), numeric::xyzVector< T >::negate(), numeric::xyzVector< T >::negated(), numeric::xyzVector< T >::norm(), numeric::xyzVector< T >::norm_squared(), numeric::xyzVector< T >::normalize(), numeric::xyzVector< T >::normalize_any(), numeric::xyzVector< T >::normalize_or_zero(), numeric::xyzVector< T >::normalized(), numeric::xyzVector< T >::normalized_any(), numeric::xyzVector< T >::normalized_or_zero(), numeric::xyzVector< T >::operator()(), numeric::operator*(), numeric::xyzVector< T >::operator*=(), numeric::xyzVector< T >::operator+=(), numeric::xyzVector< T >::operator-(), numeric::xyzVector< T >::operator-=(), numeric::xyzVector< T >::operator/=(), numeric::xyzVector< T >::operator=(), numeric::xyzVector< T >::operator[](), numeric::outer_product(), numeric::product(), numeric::xyzVector< T >::project_normal(), numeric::xyzVector< T >::project_parallel(), numeric::xyzVector< T >::projected_normal(), numeric::projection_matrix(), numeric::rotation_matrix(), numeric::xyzMatrix< T >::row(), numeric::xyzMatrix< T >::row_x(), numeric::xyzMatrix< T >::row_y(), numeric::xyzMatrix< T >::row_z(), numeric::xyzMatrix< T >::rows_constructor(), numeric::xyzVector< T >::scaled_add(), numeric::xyzVector< T >::scaled_assign(), numeric::xyzVector< T >::scaled_sub(), numeric::xyzMatrix< T >::set_diagonal(), numeric::xyzVector< T >::show(), numeric::xyzMatrix< T >::subtract_diagonal(), numeric::xyzMatrix< T >::to_diag(), numeric::xyzVector< T >::to_string(), numeric::transpose_product(), numeric::xyzVector< T >::z(), and numeric::xyzVector< T >::zero().