UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
U3dPoint4d Class Reference

#include <u3d_point4d.hpp>

Public Member Functions

 U3dPoint4d ()
 
 U3dPoint4d (double x1, double x2, double x3, double x4)
 
double getX1 ()
 
double getX2 ()
 
double getX3 ()
 
double getX4 ()
 
void setX1 (double x1)
 
void setX2 (double x2)
 
void setX3 (double x3)
 
void setX4 (double x4)
 
void setCoords (double x1, double x2, double x3, double x4)
 
U3dPoint4d operator= (const U3dPoint4d &p)
 
 U3dPoint4d ()
 
 U3dPoint4d (double x1, double x2, double x3, double x4)
 
 U3dPoint4d (const U3dPoint4d &p)
 
double getX1 ()
 
double getX2 ()
 
double getX3 ()
 
double getX4 ()
 
void setX1 (double x1)
 
void setX2 (double x2)
 
void setX3 (double x3)
 
void setX4 (double x4)
 
void setCoords (double x1, double x2, double x3, double x4)
 
U3dPoint4d operator= (const U3dPoint4d &p)
 

Protected Attributes

double m_x1
 
double m_x2
 
double m_x3
 
double m_x4
 

Detailed Description

4D point

4D point object

Constructor & Destructor Documentation

U3dPoint4d::U3dPoint4d ( )
inline

Default constructor, coordinates are (0,0,0,0)

U3dPoint4d::U3dPoint4d ( double  x1,
double  x2,
double  x3,
double  x4 
)

Constructor with provided coordinates

U3dPoint4d::U3dPoint4d ( )
inline

Default constructor, coordinates are (0,0,0,0)

U3dPoint4d::U3dPoint4d ( double  x1,
double  x2,
double  x3,
double  x4 
)

Constructor with provided coordinates

U3dPoint4d::U3dPoint4d ( const U3dPoint4d p)

Copy constructor

Member Function Documentation

double U3dPoint4d::getX1 ( )
inline

Get first coordinate

double U3dPoint4d::getX1 ( )
inline

Get first coordinate

double U3dPoint4d::getX2 ( )
inline

Get second coordinate

double U3dPoint4d::getX2 ( )
inline

Get second coordinate

double U3dPoint4d::getX3 ( )
inline

Get third coordinate

double U3dPoint4d::getX3 ( )
inline

Get third coordinate

double U3dPoint4d::getX4 ( )
inline

Get fourth coordinate

double U3dPoint4d::getX4 ( )
inline

Get fourth coordinate

U3dPoint4d U3dPoint4d::operator= ( const U3dPoint4d p)

Equating operator

U3dPoint4d U3dPoint4d::operator= ( const U3dPoint4d p)

Equating operator

void U3dPoint4d::setCoords ( double  x1,
double  x2,
double  x3,
double  x4 
)
inline

Set all coordinates

void U3dPoint4d::setCoords ( double  x1,
double  x2,
double  x3,
double  x4 
)
inline

Set all coordinates

void U3dPoint4d::setX1 ( double  x1)
inline

Set first coordinate

void U3dPoint4d::setX1 ( double  x1)
inline

Set first coordinate

void U3dPoint4d::setX2 ( double  x2)
inline

Set second coordinate

void U3dPoint4d::setX2 ( double  x2)
inline

Set second coordinate

void U3dPoint4d::setX3 ( double  x3)
inline

Set third coordinate

void U3dPoint4d::setX3 ( double  x3)
inline

Set third coordinate

void U3dPoint4d::setX4 ( double  x4)
inline

Set fourth coordinate

void U3dPoint4d::setX4 ( double  x4)
inline

Set fourth coordinate

Member Data Documentation

double U3dPoint4d::m_x1
protected

Point coordinates


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