iLand
Public Member Functions | List of all members
Vector3D Class Reference

simple 3d vector. More...

#include <grid.h>

Public Member Functions

 Vector3D ()
 
 Vector3D (const double x, const double y, const double z)
 
double x () const
 get x-coordinate More...
 
double y () const
 get y-coordinate More...
 
double z () const
 get z-coordinate More...
 
void setX (const double x)
 set value of the x-coordinate More...
 
void setY (const double y)
 set value of the y-coordinate More...
 
void setZ (const double z)
 set value of the z-coordinate More...
 

Detailed Description

simple 3d vector.

QVector3D (from Qt) is in QtGui so we needed a replacement.

Constructor & Destructor Documentation

◆ Vector3D() [1/2]

Vector3D::Vector3D ( )
inline

◆ Vector3D() [2/2]

Vector3D::Vector3D ( const double  x,
const double  y,
const double  z 
)
inline

Member Function Documentation

◆ setX()

void Vector3D::setX ( const double  x)
inline

set value of the x-coordinate

◆ setY()

void Vector3D::setY ( const double  y)
inline

set value of the y-coordinate

◆ setZ()

void Vector3D::setZ ( const double  z)
inline

set value of the z-coordinate

◆ x()

double Vector3D::x ( ) const
inline

get x-coordinate

◆ y()

double Vector3D::y ( ) const
inline

get y-coordinate

◆ z()

double Vector3D::z ( ) const
inline

get z-coordinate


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