GSLAM
3.0.0
|
Public Member Functions | |
Point3_ (Precision x_, Precision y_, Precision z_) | |
Precision & | operator[] (int index) const |
Precision | norm () const |
Precision | dot (const Point3_ &a) const |
Point3_< Precision > | cross (const Point3_ &a) const |
Point3_< Precision > | normalize () const |
template<typename Scalar > | |
operator Point3_< Scalar > () | |
Precision | at (int i) const |
Precision | getX () const |
Precision | getY () const |
Precision | getZ () const |
void | setX (Precision X) |
void | setY (Precision Y) |
void | setZ (Precision Z) |
Point3_< Precision > | add (const Point3_< Precision > &r) const |
Point3_< Precision > | sub (const Point3_< Precision > &r) const |
Point3_< Precision > | mul (Precision r) const |
Point3_< Precision > | div (Precision r) const |
std::string | toString () const |
Public Attributes | |
Precision | x |
Precision | y |
Precision | z |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Point3_ &p) |
std::istream & | operator>> (std::istream &is, Point3_ &p) |
Point3_ | operator+ (const Point3_ &a, const Point3_ &b) |
Point3_ | operator- (const Point3_ &a, const Point3_ &b) |
Point3_ | operator- (const Point3_ &a) |
Precision | operator* (const Point3_ &a, const Point3_ &b) |
Point3_< Precision > | operator^ (const Point3_ &a, const Point3_ &b) |
Point3_ | operator* (const Precision &a, const Point3_ &b) |
Point3_ | operator* (const Point3_ &b, const Precision &a) |
Point3_ | operator/ (const Point3_ &a, const Precision &b) |
bool | operator< (const Point3_ &a, const Point3_ b) |