Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
Point Class Reference

Representation of a point in 3D space. More...

#include <point.h>

Public Member Functions

double distance (const Point &p)
 
Point operator+ (const Point &p) const
 
Pointoperator+= (const Point &p)
 
Point operator- (const Point &p) const
 
Pointoperator-= (const Point &p)
 
 Point ()
 
 Point (const double *p)
 
 Point (const double *p, const char *c)
 
 Point (const double _x, const double _y, const double _z)
 
 Point (const double _x, const double _y, const double _z, const char _r, const char _g, const char _b)
 
 Point (const Point &p)
 
void transform (const double alignxf[16])
 

Static Public Member Functions

static Point cross (const Point &X, const Point &Y)
 
static Point norm (const Point &p)
 

Public Attributes

float amplitude
 
float deviation
 
long point_id
 
double rad
 
float reflectance
 
unsigned char rgb [3]
 
double tan_theta
 tang in cylindrical coordinates for veloscan More...
 
int type
 
double x
 x coordinate in 3D space More...
 
double y
 y coordinate in 3D space More...
 
double z
 z coordinate in 3D space More...
 

Friends

ostream & operator<< (ostream &os, const Point &p)
 
istream & operator>> (istream &is, Point &p)
 

Detailed Description

Representation of a point in 3D space.

Definition at line 22 of file point.h.

Constructor & Destructor Documentation

◆ Point() [1/6]

Point::Point ( )
inline

Default constructor

Definition at line 28 of file point.h.

◆ Point() [2/6]

Point::Point ( const Point p)
inline

Copy constructor

Definition at line 32 of file point.h.

◆ Point() [3/6]

Point::Point ( const double *  p)
inline

Constructor with an array, i.e., vecctor of coordinates

Definition at line 37 of file point.h.

◆ Point() [4/6]

Point::Point ( const double *  p,
const char *  c 
)
inline

Definition at line 39 of file point.h.

◆ Point() [5/6]

Point::Point ( const double  _x,
const double  _y,
const double  _z 
)
inline

Constructor with three double values

Definition at line 44 of file point.h.

◆ Point() [6/6]

Point::Point ( const double  _x,
const double  _y,
const double  _z,
const char  _r,
const char  _g,
const char  _b 
)
inline

Definition at line 45 of file point.h.

Member Function Documentation

◆ cross()

static Point Point::cross ( const Point X,
const Point Y 
)
inlinestatic

Definition at line 47 of file point.h.

◆ distance()

double Point::distance ( const Point p)
inline

◆ norm()

static Point Point::norm ( const Point p)
inlinestatic

Definition at line 55 of file point.h.

◆ operator+()

Point Point::operator+ ( const Point p) const
inline

Definition at line 61 of file point.h.

◆ operator+=()

Point& Point::operator+= ( const Point p)
inline

Definition at line 83 of file point.h.

◆ operator-()

Point Point::operator- ( const Point p) const
inline

Definition at line 69 of file point.h.

◆ operator-=()

Point& Point::operator-= ( const Point p)
inline

Definition at line 77 of file point.h.

◆ transform()

void Point::transform ( const double  alignxf[16])
inline

Friends And Related Function Documentation

◆ operator<<

ostream& operator<< ( ostream &  os,
const Point p 
)
friend

◆ operator>>

istream& operator>> ( istream &  is,
Point p 
)
friend

Member Data Documentation

◆ amplitude

float Point::amplitude

Definition at line 121 of file point.h.

◆ deviation

float Point::deviation

Definition at line 122 of file point.h.

◆ point_id

long Point::point_id

Definition at line 113 of file point.h.

◆ rad

double Point::rad

Definition at line 109 of file point.h.

◆ reflectance

float Point::reflectance

Definition at line 120 of file point.h.

◆ rgb

unsigned char Point::rgb[3]

Definition at line 118 of file point.h.

◆ tan_theta

double Point::tan_theta

tang in cylindrical coordinates for veloscan

Definition at line 111 of file point.h.

◆ type

int Point::type

additional information about the point, e.g., semantic also used in veloscan for distiuguish moving or static

Definition at line 106 of file point.h.

◆ x

double Point::x

x coordinate in 3D space

Definition at line 99 of file point.h.

◆ y

double Point::y

y coordinate in 3D space

Definition at line 101 of file point.h.

◆ z

double Point::z

z coordinate in 3D space

Definition at line 103 of file point.h.


The documentation for this class was generated from the following file:


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:26