Go to the documentation of this file.
17 using std::runtime_error;
38 rgb[0] = 255;
rgb[1] = 255;
rgb[2] = 255;};
39 inline Point(
const double *
p,
const char *c) {
x =
p[0];
y =
p[1];
z =
p[2];
rgb[0] = c[0];
rgb[1] = c[1];
rgb[2] = c[2];};
44 inline Point(
const double _x,
const double _y,
const double _z) {
x = _x;
y = _y;
z = _z; };
45 inline Point(
const double _x,
const double _y,
const double _z,
const char _r,
const char _g,
const char _b) {
x = _x;
y = _y;
z = _z;
rgb[0] = _r;
rgb[1] = _g;
rgb[2] = _b;};
49 res.
x = X.
y * Y.
z - X.
z * Y.
y;
50 res.
y = X.
z * Y.
x - X.
x * Y.
z;
51 res.
z = X.
x * Y.
y - X.
y * Y.
x;
56 double l = sqrt(
p.x*
p.x +
p.y*
p.y +
p.z*
p.z);
92 inline void transform(
const double alignxf[16]);
friend istream & operator>>(istream &is, Point &p)
friend ostream & operator<<(ostream &os, const Point &p)
Point & operator+=(const Point &p)
double tan_theta
tang in cylindrical coordinates for veloscan
Point(const double _x, const double _y, const double _z)
Point(const double *p, const char *c)
static Point norm(const Point &p)
Point operator-(const Point &p) const
Point operator*(const double &v, const Point &p)
double z
z coordinate in 3D space
double distance(const Point &p)
double x
x coordinate in 3D space
Point operator+(const Point &p) const
static Point cross(const Point &X, const Point &Y)
void transform(const double alignxf[16])
Point(const double _x, const double _y, const double _z, const char _r, const char _g, const char _b)
double y
y coordinate in 3D space
Representation of a point in 3D space.
Point & operator-=(const Point &p)
lvr2
Author(s): Thomas Wiemann
, Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:24