Point in 3D Class represents point in 3D.
More...
#include <Draw3D_api_interface.hh>
Point in 3D Class represents point in 3D.
drawNS::Point3D::Point3D |
( |
| ) |
|
|
delete |
deleted non-parametric constructor to force using parametric.
drawNS::Point3D::Point3D |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
x | - x coord. |
y | - y coord. |
z | - z coord. |
const double& drawNS::Point3D::operator[] |
( |
uint |
ind | ) |
const |
|
inline |
Acess operator.
- Parameters
-
ind | - 0 for x coord, 1 for y, 2 for z. |
- Returns
- value of coord.
double& drawNS::Point3D::operator[] |
( |
uint |
ind | ) |
|
|
inline |
Acess operator.
- Parameters
-
ind | - 0 for x coord, 1 for y, 2 for z. |
- Returns
- reference to coord.
The documentation for this class was generated from the following file: