#include <Vector2.h>
Inheritance diagram for Physsim::Vector2:

Public Member Functions | |
| Vector2 () | |
| Default constructor. | |
| Vector2 (Real x, Real y) | |
| Constructs this vector with the given values. | |
| Vector2 (const boost::shared_array< Real > array) | |
| Constructs this vector from the given array. | |
| Vector2 (VectorNConstPtr v) | |
| Vector2 (const Vector2 &source) | |
| Copy constructor. | |
| Vector2 (const VectorN &source) | |
| Copy constructor. | |
| void | operator= (const Vector2 &source) |
| virtual void | operator= (const VectorN &source) |
| Vector2::Vector2 | ( | const boost::shared_array< Real > | array | ) |
Constructs this vector from the given array.
| array | a 2-dimensional (or larger) array |
| Vector2::Vector2 | ( | const VectorN & | source | ) |
Copy constructor.
| source | a 2-dimensional vector; if it is not 2-dimensional, an error message will be output to stderr and the operation will fail |
1.5.1