#include <Point.h>
Feel free to replace this with anything you want to use your own point. I just construct and call x(), y(), z().
Definition at line 47 of file Point.h.
Public Member Functions | |
Point () | |
Point (double x, double y, double z) | |
double | x () const |
double | y () const |
double | z () const |
double | operator[] (unsigned int i) const |
Point | operator- (const Point &o) const |
Point | operator+ (const Point &o) const |
Point | operator/ (double d) const |
double | operator * (const Point &o) const |
Protected Attributes | |
double | x_ |
double | y_ |
double | z_ |
|
Default.
Definition at line 50 of file Point.h. Referenced by operator+(), operator-(), and operator/(). |
|
Construct a point.
|
|
Dot product.
|
|
Sum of two points.
|
|
difference between two points
|
|
Divide by a scalar.
|
|
Get one of the coordinates by index.
|
|
x
Definition at line 55 of file Point.h. References x_. Referenced by dsrpdb::Transform::operator()(), dsrpdb::Squared_distance::operator()(), and dsrpdb::operator<<(). |
|
y
Definition at line 57 of file Point.h. References y_. Referenced by dsrpdb::Transform::operator()(), dsrpdb::Squared_distance::operator()(), and dsrpdb::operator<<(). |
|
y
Definition at line 60 of file Point.h. References z_. Referenced by dsrpdb::Transform::operator()(), dsrpdb::Squared_distance::operator()(), and dsrpdb::operator<<(). |