|
|
|
Vector2D< Cmpt > Class Template ReferenceTemplated 2D Vector derived from VectorSpace adding construction from 2 components, element access using x() and y() member functions and the inner-product (dot-product). More...
Inheritance diagram for Vector2D< Cmpt >:
![]()
Collaboration diagram for Vector2D< Cmpt >:
![]()
Detailed Descriptiontemplate<class Cmpt>
Templated 2D Vector derived from VectorSpace adding construction from 2 components, element access using x() and y() member functions and the inner-product (dot-product).
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| anonymous enum |
| enum components |
| Vector2D | ( | ) | [inline] |
| Vector2D | ( | const VectorSpace< Vector2D< Cmpt >, Cmpt, 2 > & | vs | ) | [inline] |
| Vector2D | ( | const Cmpt & | vx, | |
| const Cmpt & | vy | |||
| ) | [inline] |
Construct from Istream.
Definition at line 50 of file Vector2DI.H.
References VectorSpace< Vector2D< Cmpt >, Cmpt, 2 >::v_, Vector2D< Cmpt >::X, and Vector2D< Cmpt >::Y.
| const Cmpt & x | ( | ) | const [inline] |
Definition at line 59 of file Vector2DI.H.
Referenced by Vector2D< Cmpt >::perp().

| const Cmpt & y | ( | ) | const [inline] |
Definition at line 65 of file Vector2DI.H.
References VectorSpace< Vector2D< Cmpt >, Cmpt, 2 >::v_, and Vector2D< Cmpt >::X.
Referenced by Vector2D< Cmpt >::perp().

| Cmpt & x | ( | ) | [inline] |
Definition at line 72 of file Vector2DI.H.
References VectorSpace< Vector2D< Cmpt >, Cmpt, 2 >::v_, and Vector2D< Cmpt >::Y.
| Cmpt & y | ( | ) | [inline] |
Definition at line 78 of file Vector2DI.H.
References VectorSpace< Vector2D< Cmpt >, Cmpt, 2 >::v_, and Vector2D< Cmpt >::X.
perp dot product (dot product with perpendicular vector)
Definition at line 95 of file Vector2DI.H.
References Vector2D< Cmpt >::x(), and Vector2D< Cmpt >::y().

const char* const typeName [static] |
Definition at line 64 of file Vector2D.H.
const char* componentNames[] [static] |
Definition at line 65 of file Vector2D.H.
Definition at line 66 of file Vector2D.H.
Definition at line 67 of file Vector2D.H.
Definition at line 68 of file Vector2D.H.
Definition at line 69 of file Vector2D.H.