#include <point.h>
|
| double | x {0.0} |
| |
| double | y {0.0} |
| |
| double | z {0.0} |
| |
Definition at line 54 of file point.h.
◆ Point3D() [1/3]
| RDGeom::Point3D::Point3D |
( |
| ) |
|
|
inline |
◆ Point3D() [2/3]
| RDGeom::Point3D::Point3D |
( |
double |
xv, |
|
|
double |
yv, |
|
|
double |
zv |
|
) |
| |
|
inline |
◆ ~Point3D()
| RDGeom::Point3D::~Point3D |
( |
| ) |
|
|
overridedefault |
◆ Point3D() [3/3]
| RDGeom::Point3D::Point3D |
( |
const Point3D & |
other | ) |
|
|
inline |
◆ angleTo()
| double RDGeom::Point3D::angleTo |
( |
const Point3D & |
other | ) |
const |
|
inline |
determines the angle between a vector to this point from the origin and a vector to the other point.
The angle is unsigned: the results of this call will always be between 0 and M_PI
Definition at line 169 of file point.h.
References lengthSq(), and M_PI.
◆ copy()
| Point * RDGeom::Point3D::copy |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ crossProduct()
◆ dimension()
| unsigned int RDGeom::Point3D::dimension |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ directionVector()
| Point3D RDGeom::Point3D::directionVector |
( |
const Point3D & |
other | ) |
const |
|
inline |
Returns a normalized direction vector from this point to another.
Definition at line 203 of file point.h.
References normalize(), x, y, and z.
◆ dotProduct()
| double RDGeom::Point3D::dotProduct |
( |
const Point3D & |
other | ) |
const |
|
inline |
◆ getPerpendicular()
| Point3D RDGeom::Point3D::getPerpendicular |
( |
| ) |
const |
|
inline |
◆ length()
| double RDGeom::Point3D::length |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ lengthSq()
| double RDGeom::Point3D::lengthSq |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ normalize()
| void RDGeom::Point3D::normalize |
( |
| ) |
|
|
inlineoverridevirtual |
◆ operator*=()
| Point3D & RDGeom::Point3D::operator*= |
( |
double |
scale | ) |
|
|
inline |
◆ operator+=()
◆ operator-()
| Point3D RDGeom::Point3D::operator- |
( |
| ) |
const |
|
inline |
◆ operator-=()
◆ operator/=()
| Point3D & RDGeom::Point3D::operator/= |
( |
double |
scale | ) |
|
|
inline |
◆ operator=()
Definition at line 94 of file point.h.
References x, y, and z.
◆ operator[]() [1/2]
| double RDGeom::Point3D::operator[] |
( |
unsigned int |
i | ) |
const |
|
inlineoverridevirtual |
◆ operator[]() [2/2]
| double & RDGeom::Point3D::operator[] |
( |
unsigned int |
i | ) |
|
|
inlineoverridevirtual |
◆ signedAngleTo()
| double RDGeom::Point3D::signedAngleTo |
( |
const Point3D & |
other | ) |
const |
|
inline |
determines the signed angle between a vector to this point from the origin and a vector to the other point.
The results of this call will be between 0 and M_2_PI
Definition at line 190 of file point.h.
References M_PI, x, and y.
| double RDGeom::Point3D::x {0.0} |
| double RDGeom::Point3D::y {0.0} |
| double RDGeom::Point3D::z {0.0} |
The documentation for this class was generated from the following file: