Rosetta
|
Fast (x,y,z)-coordinate vector container. More...
#include <xyzTriple.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 | |
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... | |
xyzTriple & | operator= (xyzTriple const &v) |
Copy assignment. More... | |
template<typename U > | |
xyzTriple & | operator= (xyzTriple< U > const &v) |
Copy assignment. More... | |
template<typename U > | |
xyzTriple & | operator= (U const *p) |
Assignment from pointer to contiguous values. More... | |
template<typename U > | |
xyzTriple & | operator+= (xyzTriple< U > const &v) |
+= xyzTriple More... | |
template<typename U > | |
xyzTriple & | operator-= (xyzTriple< U > const &v) |
-= xyzTriple More... | |
template<typename U > | |
xyzTriple & | scaled_assign (Value const &t, xyzTriple< U > const &v) |
Assign Value * xyzTriple. More... | |
template<typename U > | |
xyzTriple & | scaled_add (Value const &t, xyzTriple< U > const &v) |
Add Value * xyzTriple. More... | |
template<typename U > | |
xyzTriple & | scaled_sub (Value const &t, xyzTriple< U > const &v) |
Subtract Value * xyzTriple. More... | |
xyzTriple & | operator= (Value const &t) |
= Value More... | |
xyzTriple & | operator+= (Value const &t) |
+= Value More... | |
xyzTriple & | operator-= (Value const &t) |
-= Value More... | |
xyzTriple & | operator*= (Value const &t) |
*= Value More... | |
xyzTriple & | operator/= (Value const &t) |
/= Value More... | |
xyzTriple & | assign (Value const &x_a, Value const &y_a, Value const &z_a) |
Triple value assignment. More... | |
xyzTriple & | clear () |
Clear. More... | |
xyzTriple & | zero () |
Zero. More... | |
xyzTriple & | negate () |
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... | |
xyzTriple & | min (xyzTriple const &v) |
Set minimum coordinates wrt another xyzTriple. More... | |
xyzTriple & | max (xyzTriple const &v) |
Set maximum coordinates wrt another xyzTriple. More... | |
xyzTriple & | normalize () |
Normalize. More... | |
void | normalized (xyzTriple &a) const |
Normalized. More... | |
xyzTriple & | normalize_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... | |
xyzTriple & | normalize_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... | |
xyzTriple & | normalize (Value const &length_a) |
Normalize to a length. More... | |
void | normalized (Value const &length_a, xyzTriple &a) const |
Normalized to a length. More... | |
xyzTriple & | normalize_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... | |
xyzTriple & | normalize_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... | |
xyzTriple & | project_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... | |
xyzTriple & | project_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... | |
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 |
xyzTriple[ i ] const: 0-based index More... | |
Value & | operator[] (int const i) |
xyzTriple[ i ]: 0-based index More... | |
Value const & | operator() (int const i) const |
xyzTriple( i ) const: 1-based index More... | |
Value & | operator() (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 > | |
U | distance (xyzTriple< U > const &a, xyzTriple< U > const &b) |
Distance. More... | |
template<typename U > | |
U | distance_squared (xyzTriple< U > const &a, xyzTriple< U > const &b) |
Distance squared. More... | |
template<typename U > | |
U | dot (xyzTriple< U > const &a, xyzTriple< U > const &b) |
Dot product. More... | |
template<typename U > | |
U | dot_product (xyzTriple< U > const &a, xyzTriple< U > const &b) |
Dot product. More... | |
template<typename U > | |
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 > | |
U | angle_of (xyzTriple< U > const &a, xyzTriple< U > const &b) |
Angle between two vectors (in radians on [ 0, pi ]) More... | |
template<typename U > | |
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 > | |
U | cos_of (xyzTriple< U > const &a, xyzTriple< U > const &b) |
Cosine of angle between two vectors. More... | |
template<typename U > | |
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 > | |
U | sin_of (xyzTriple< U > const &a, xyzTriple< U > const &b) |
Sine of angle between two vectors. More... | |
template<typename U > | |
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... | |
Fast (x,y,z)-coordinate vector container.
typedef T const* numeric::xyzTriple< T >::const_pointer |
typedef T const& numeric::xyzTriple< T >::const_reference |
typedef T const* numeric::xyzTriple< T >::ConstPointer |
typedef T const& numeric::xyzTriple< T >::ConstReference |
typedef void numeric::xyzTriple< T >::difference_type |
typedef void numeric::xyzTriple< T >::iterator_category |
typedef T* numeric::xyzTriple< T >::Pointer |
typedef T* numeric::xyzTriple< T >::pointer |
typedef T& numeric::xyzTriple< T >::Reference |
typedef T& numeric::xyzTriple< T >::reference |
typedef T numeric::xyzTriple< T >::Value |
typedef T numeric::xyzTriple< T >::value_type |
|
inline |
Default constructor.
|
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.
References numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
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_.
|
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_.
|
inline |
Clear.
References numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
Referenced by pyrosetta.bindings.pose.ResidueLabelAccessor::discard().
|
inline |
|
inline |
|
inline |
|
inline |
Distance squared.
References numeric::xyzTriple< T >::square(), kmeans_adaptive_kernel_density_bb_dependent_rotlib::v, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Dot product.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::v, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
Referenced by numeric::xyzTriple< T >::project_normal(), numeric::xyzTriple< T >::project_parallel(), numeric::xyzTriple< T >::projected_normal(), and numeric::xyzTriple< T >::projected_parallel().
|
inline |
Dot product.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::v, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Equal length?
References numeric::xyzTriple< T >::length_squared(), and kmeans_adaptive_kernel_density_bb_dependent_rotlib::v.
|
inline |
Inner product ( == dot product )
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::v, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Is exactly normalized?
References numeric::xyzTriple< T >::length_squared().
|
inline |
Is normalized to within a tolerance?
References numeric::xyzTriple< T >::length_squared(), and loops_kic::tol.
|
inline |
Is exactly a unit vector?
References numeric::xyzTriple< T >::length_squared().
|
inline |
Is a unit vector to within a tolerance?
References numeric::xyzTriple< T >::length_squared(), and loops_kic::tol.
|
inline |
Is zero?
References numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Length.
References numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
Referenced by enumerate_junctions.Design::attach_valid(), 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(), enumerate_junctions.Design::output_string(), enumerate_junctions.Design::output_valid(), enumerate_junctions.DHR::print(), enumerate_junctions.Junction::print(), enumerate_junctions.Junction::to_component(), enumerate_junctions.DHR::write_to_file(), and enumerate_junctions.Junction::write_to_file().
|
inline |
Length squared.
References numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
Referenced by numeric::xyzTriple< T >::equal_length(), numeric::xyzTriple< T >::is_normalized(), numeric::xyzTriple< T >::is_unit(), numeric::xyzTriple< T >::longer(), numeric::xyzTriple< T >::longer_or_equal(), numeric::xyzTriple< T >::not_equal_length(), numeric::xyzTriple< T >::shorter(), and numeric::xyzTriple< T >::shorter_or_equal().
|
inline |
Longer?
References numeric::xyzTriple< T >::length_squared(), and kmeans_adaptive_kernel_density_bb_dependent_rotlib::v.
|
inline |
Longer or equal length?
References numeric::xyzTriple< T >::length_squared(), and kmeans_adaptive_kernel_density_bb_dependent_rotlib::v.
|
inline |
Magnitude.
References numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Magnitude squared.
References numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Set maximum coordinates wrt another xyzTriple.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::v, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Set minimum coordinates wrt another xyzTriple.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::v, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Negate.
References numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Negated copy.
References numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::xyzTriple, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Negated: Return via argument (slightly faster)
References a, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Norm.
References numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Norm squared.
References numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Normalize.
References numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Normalize to a length.
References numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Normalize: 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_.
|
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_.
|
inline |
Normalize: zero xyzTriple if length is zero.
References numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Normalize to a length: zero xyzTriple if length is zero.
References numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Normalized copy.
References numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::xyzTriple, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Normalized to a length copy.
References numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::xyzTriple, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Normalized to a length.
References a, numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Normalized.
References a, numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Normalized copy: Arbitrary normalized xyzTriple if length is zero.
References numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::xyzTriple, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Normalized to a length copy: Arbitrary normalized xyzTriple if length is zero.
References numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::xyzTriple, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
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_.
|
inline |
Normalized: 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_.
|
inline |
Normalized copy: Zero xyzTriple if length is zero.
References numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::xyzTriple, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Normalized to a length copy: Zero xyzTriple if length is zero.
References numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::xyzTriple, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Normalized to a length: zero xyzTriple if length is zero.
References a, numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Normalized: zero xyzTriple if length is zero.
References a, numeric::xyzTriple< T >::length(), numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Not equal length?
References numeric::xyzTriple< T >::length_squared(), and kmeans_adaptive_kernel_density_bb_dependent_rotlib::v.
|
inline |
xyzTriple( i ): 1-based index
References create_a3b_hbs::i, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
xyzTriple( i ) const: 1-based index
References create_a3b_hbs::i, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
*= Value
References predPRE::t, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
+= Value
References predPRE::t, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
|
inline |
-xyzTriple (negated copy)
References numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::xyzTriple, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
-= Value
References predPRE::t, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
|
inline |
/= Value
References predPRE::t, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Assignment from pointer to contiguous values.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::p, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
= Value
References predPRE::t, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Copy assignment.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::v, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Copy assignment.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::v, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
xyzTriple[ i ]: 0-based index
References create_a3b_hbs::i, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
xyzTriple[ i ] const: 0-based index
References create_a3b_hbs::i, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Project normal.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, numeric::xyzTriple< T >::dot(), kmeans_adaptive_kernel_density_bb_dependent_rotlib::v, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Project parallel.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, numeric::xyzTriple< T >::dot(), kmeans_adaptive_kernel_density_bb_dependent_rotlib::v, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Projected normal copy.
References kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, numeric::xyzTriple< T >::dot(), kmeans_adaptive_kernel_density_bb_dependent_rotlib::v, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::xyzTriple, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Projected normal.
References a, kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, numeric::xyzTriple< T >::dot(), kmeans_adaptive_kernel_density_bb_dependent_rotlib::v, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Projected parallel copy.
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.
|
inline |
Projected parallel.
References a, kmeans_adaptive_kernel_density_bb_dependent_rotlib::c, numeric::xyzTriple< T >::dot(), and kmeans_adaptive_kernel_density_bb_dependent_rotlib::v.
|
inline |
Add Value * xyzTriple.
References predPRE::t, kmeans_adaptive_kernel_density_bb_dependent_rotlib::v, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Assign Value * xyzTriple.
References predPRE::t, kmeans_adaptive_kernel_density_bb_dependent_rotlib::v, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Subtract Value * xyzTriple.
References predPRE::t, kmeans_adaptive_kernel_density_bb_dependent_rotlib::v, numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
inline |
Shorter?
References numeric::xyzTriple< T >::length_squared(), and kmeans_adaptive_kernel_density_bb_dependent_rotlib::v.
|
inline |
Shorter or equal length?
References numeric::xyzTriple< T >::length_squared(), and kmeans_adaptive_kernel_density_bb_dependent_rotlib::v.
|
inlinestaticprivate |
square( t ) == t * t
References predPRE::t.
Referenced by numeric::xyzTriple< T >::distance(), and numeric::xyzTriple< T >::distance_squared().
|
inline |
|
inline |
Value x const.
References numeric::xyzTriple< T >::x_.
Referenced by PyMOL-Rosetta-relay-client.XYZCoord::__init__(), PyMOL-RosettaServer.XYZCoord::__init__(), PyMOL-Rosetta-relay-client.XYZCoord::__str__(), PyMOL-RosettaServer.XYZCoord::__str__(), pyrosetta.PyMOLRosettaServer.XYZCoord::__str__(), ClashCheck::clash_check(), MatchSet::clash_check(), MatchSet::init_clash_check(), and ClashCheck::init_clash_check().
|
inline |
x assignment
References numeric::xyzTriple< T >::x_.
Referenced by PyMOL-Rosetta-relay-client.XYZCoord::__init__(), PyMOL-RosettaServer.XYZCoord::__init__(), PyMOL-Rosetta-relay-client.XYZCoord::__str__(), PyMOL-RosettaServer.XYZCoord::__str__(), and pyrosetta.PyMOLRosettaServer.XYZCoord::__str__().
|
inline |
|
inline |
Value y const.
References numeric::xyzTriple< T >::y_.
Referenced by PyMOL-Rosetta-relay-client.XYZCoord::__init__(), PyMOL-RosettaServer.XYZCoord::__init__(), PyMOL-Rosetta-relay-client.XYZCoord::__str__(), PyMOL-RosettaServer.XYZCoord::__str__(), pyrosetta.PyMOLRosettaServer.XYZCoord::__str__(), ClashCheck::clash_check(), MatchSet::clash_check(), MatchSet::init_clash_check(), and ClashCheck::init_clash_check().
|
inline |
y assignment
References numeric::xyzTriple< T >::y_.
Referenced by PyMOL-Rosetta-relay-client.XYZCoord::__init__(), PyMOL-RosettaServer.XYZCoord::__init__(), PyMOL-Rosetta-relay-client.XYZCoord::__str__(), PyMOL-RosettaServer.XYZCoord::__str__(), and pyrosetta.PyMOLRosettaServer.XYZCoord::__str__().
|
inline |
|
inline |
Value z const.
References numeric::xyzTriple< T >::z_.
Referenced by PyMOL-Rosetta-relay-client.XYZCoord::__init__(), PyMOL-RosettaServer.XYZCoord::__init__(), PyMOL-Rosetta-relay-client.XYZCoord::__str__(), PyMOL-RosettaServer.XYZCoord::__str__(), pyrosetta.PyMOLRosettaServer.XYZCoord::__str__(), ClashCheck::clash_check(), MatchSet::clash_check(), MatchSet::init_clash_check(), and ClashCheck::init_clash_check().
|
inline |
z assignment
References numeric::xyzTriple< T >::z_.
Referenced by PyMOL-Rosetta-relay-client.XYZCoord::__init__(), PyMOL-RosettaServer.XYZCoord::__init__(), PyMOL-Rosetta-relay-client.XYZCoord::__str__(), PyMOL-RosettaServer.XYZCoord::__str__(), and pyrosetta.PyMOLRosettaServer.XYZCoord::__str__().
|
inline |
Zero.
References numeric::xyzTriple< T >::x_, numeric::xyzTriple< T >::y_, and numeric::xyzTriple< T >::z_.
|
friend |
Add: Value + xyzTriple.
Referenced by job_manager.MoveStatsWindow::__init__(), and pyrosetta.bindings.pose.ResidueLabelAccessor::discard().
|
friend |
|
friend |
Add: xyzTriple + Value.
Referenced by job_manager.MoveStatsWindow::__init__(), and pyrosetta.bindings.pose.ResidueLabelAccessor::discard().
|
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 xyzTriples.
|
friend |
Center of 2 xyzTriples: Return via argument (slightly faster)
|
friend |
Center of 3 xyzTriples.
|
friend |
Center of 3 xyzTriples: Return via argument (slightly faster)
|
friend |
Center of 4 xyzTriples.
|
friend |
Center of 4 xyzTriples: 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 |
Distance.
|
friend |
Distance squared.
|
friend |
Divide: xyzTriple / Value.
|
friend |
Dot product.
|
friend |
Dot product.
|
friend |
Equal length?
|
friend |
Inner product ( == dot product )
|
friend |
xyzTriple with max coordinates of two xyzTriples
|
friend |
Midpoint of 2 xyzTriples.
|
friend |
Midpoint of 2 xyzTriples: Return via argument (slightly faster)
|
friend |
xyzTriple with min coordinates of two xyzTriples
|
friend |
Multiply: Value * xyzTriple.
|
friend |
Multiply: xyzTriple * Value.
|
friend |
Not equal length?
Value != xyzTriple.
xyzTriple != Value
Value * xyzTriple.
xyzTriple * Value
Value + xyzTriple.
xyzTriple + Value
Value - xyzTriple.
xyzTriple - Value
xyzTriple / Value
Value < xyzTriple.
xyzTriple < Value
Value <= xyzTriple.
xyzTriple <= Value
Value == xyzTriple.
xyzTriple == Value
Value > xyzTriple.
xyzTriple > Value
Value >= xyzTriple.
xyzTriple >= Value
|
friend |
Sine of angle between two vectors.
|
friend |
Sine of angle formed by three consecutive points.
|
friend |
Subtract: Value - xyzTriple.
|
friend |
Subtract: xyzTriple - Value.
Referenced by numeric::xyzTriple< T >::cross(), numeric::xyzTriple< T >::cross_product(), numeric::xyzTriple< T >::negated(), numeric::xyzTriple< T >::normalized(), numeric::xyzTriple< T >::normalized_any(), numeric::xyzTriple< T >::normalized_or_zero(), numeric::xyzTriple< T >::operator-(), numeric::xyzTriple< T >::projected_normal(), and numeric::xyzTriple< T >::projected_parallel().
|
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().
|
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().
|
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().