Draw_3D_API
drawNS::Point3D Class Reference

Point in 3D Class represents point in 3D. More...

#include <Draw3D_api_interface.hh>

Public Member Functions

 Point3D ()=delete
 deleted non-parametric constructor to force using parametric. More...
 
 Point3D (double x, double y, double z)
 Constructor. More...
 
const double & operator[] (uint ind) const
 Acess operator. More...
 
double & operator[] (uint ind)
 Acess operator. More...
 

Detailed Description

Point in 3D Class represents point in 3D.

Constructor & Destructor Documentation

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.

Member Function Documentation

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: