|
| Point3 (const double x_, const double y_, const double z_) |
| Constructor without color. More...
|
|
| Point3 (const double x_, const double y_, const double z_, unsigned char r_, unsigned char g_, unsigned char b_, unsigned char a_) |
| Constructor with color. More...
|
|
| Point3 () |
| Default constructor. More...
|
|
| Point3 (const Point3 &p_) |
| Copy constructor. More...
|
|
Point3 & | operator= (const Point3 &other) |
| operator= More...
|
|
| ~Point3 () |
| Destructor.
|
|
void | setColor (unsigned char r_, unsigned char g_, unsigned char b_, unsigned char a_) |
| Set color. More...
|
|
void | getColor_255 (unsigned char &r_, unsigned char &g_, unsigned char &b_, unsigned char &a_) const |
| Get color (unsigned char, range=0, ..., 255) More...
|
|
void | getColor_255 (float &r_, float &g_, float &b_, float &a_) const |
| Get color (float, range=0, ..., 255) More...
|
|
std::string | getColorString () |
| Get color string (string, range=0.0, ..., 1.0) More...
|
|
void | getColor_1 (float &r_, float &g_, float &b_, float &a_) const |
| Get color (float, range=0.0, ..., 1.0) More...
|
|
bool | hasColor () const |
| Has color. More...
|
|
double | x () const |
| Get the x-coordinate. More...
|
|
double | y () const |
| Get the y-coordinate. More...
|
|
double | z () const |
| Get the z-coordinate. More...
|
|
void | xyz (double &x_, double &y_, double &z_) const |
| Get the x-, y- and z-coordinate. More...
|
|
void | addOwnCoords (double &x, double &y, double &z) const |
| Add the point's coordinates to x,y,z. More...
|
|
void | addOwnCoordsW (double &x, double &y, double &z, double w) const |
| Add the point's coordinates to x,y,z. More...
|
|
void | copyColorFrom (const Point3 &other) |
| Copy the color from another point. More...
|
|
void | copyColorFrom (const Point3 &other0, const Point3 &other1) |
| Copy the average color from two points. More...
|
|
void | addWeightedOwnCoords (double weight, double &x, double &y, double &z) const |
| Add the point's weighted coordinates to x,y,z. More...
|
|
bool | operator< (const Point3 &p) const |
| Less than operator. More...
|
|
bool | operator> (const Point3 &p) const |
| Greater than operator. More...
|
|
bool | operator== (const Point3 &p) const |
| Equality operator. More...
|
|
bool | operator!= (const Point3 &p) const |
| Inequality operator. More...
|
|
void | set (const double x_, const double y_, const double z_) |
| Set the coordiantes. More...
|
|
void | set (const Point3 &pnt) |
| Set the coordiantes. More...
|
|
Vector3 | operator- (const Point3 &other) const |
| operator- More...
|
|
Point3 | operator+ (const Vector3 &vec) const |
| operator+ More...
|
|
Point3 | operator- (const Vector3 &vec) const |
| operator- More...
|
|