#include <algebraic-primitives.h>
Inheritance diagram for basic_algebraic_primitives:


Public Types | |
| typedef point_traits< POINT > | pt |
| typedef pt::component_type | scalar |
| typedef scalar | real |
Static Public Methods | |
| scalar | sqr (scalar x) |
| scalar | dot (const POINT &p, const POINT &q) |
| scalar | distance2 (const POINT &p1, const POINT &p2) |
| scalar | distance (const POINT &p1, const POINT &p2) |
| scalar | squared_norm_2 (const POINT &p) |
| real | norm_2 (const POINT &p) |
| POINT | normalization (const POINT &p) |
| void | normalize (POINT &p) |
| real | norm_1 (POINT const &p) |
| real | norm_infinity (POINT const &p) |
| real | rel_diff (POINT const &p1, POINT const &p2) |
| scalar | cos_of_angle (const POINT &p, const POINT &q) |
calculate the cosine of the angle
in radians between p and q. More... | |
| scalar | angle (const POINT &p, const POINT &q) |
calculate the angle
in radians between p and q. More... | |
|
|||||
|
Definition at line 45 of file algebraic-primitives.h. |
|
|||||
|
|||||
|
||||||||||
|
Definition at line 50 of file algebraic-primitives.h. Referenced by basic_algebraic_primitives< point >::distance2, and basic_algebraic_primitives< point >::squared_norm_2. |
|
||||||||||||||||
|
Definition at line 52 of file algebraic-primitives.h. Referenced by basic_algebraic_primitives< point >::cos_of_angle. |
|
||||||||||||||||
|
Definition at line 64 of file algebraic-primitives.h. Referenced by basic_algebraic_primitives< point >::distance. |
|
||||||||||||||||
|
Definition at line 72 of file algebraic-primitives.h. |
|
||||||||||
|
Definition at line 75 of file algebraic-primitives.h. Referenced by dimension_dependent_primitives_3d::matrixnorm_frobenius, and basic_algebraic_primitives< point >::norm_2. |
|
||||||||||
|
||||||||||
|
Definition at line 85 of file algebraic-primitives.h. Referenced by basic_algebraic_primitives< point >::normalize. |
|
||||||||||
|
Definition at line 86 of file algebraic-primitives.h. |
|
||||||||||
|
Definition at line 88 of file algebraic-primitives.h. Referenced by dimension_dependent_primitives_3d::matrixnorm_1. |
|
||||||||||
|
Definition at line 95 of file algebraic-primitives.h. |
|
||||||||||||||||
|
Definition at line 104 of file algebraic-primitives.h. |
|
||||||||||||||||
|
calculate the cosine of the angle
The result is oriented such that a rotation about Definition at line 119 of file algebraic-primitives.h. Referenced by basic_algebraic_primitives< point >::angle. |
|
||||||||||||||||
|
calculate the angle
The result is oriented such that a rotation about Definition at line 127 of file algebraic-primitives.h. |
1.2.11-20011104 written by Dimitri van Heesch,
© 1997-2000