mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
cfiController
This commit is contained in:
66
LibServer/cficontroller/vectordouble.cpp
Normal file
66
LibServer/cficontroller/vectordouble.cpp
Normal file
@@ -0,0 +1,66 @@
|
||||
#include "vectordouble.h"
|
||||
|
||||
Vector2dDouble::Vector2dDouble() :
|
||||
x(0.0),
|
||||
y(0.0)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
double Vector2dDouble::getX() const
|
||||
{
|
||||
return x;
|
||||
}
|
||||
|
||||
void Vector2dDouble::setX(double value)
|
||||
{
|
||||
x = value;
|
||||
}
|
||||
|
||||
double Vector2dDouble::getY() const
|
||||
{
|
||||
return y;
|
||||
}
|
||||
|
||||
void Vector2dDouble::setY(double value)
|
||||
{
|
||||
y = value;
|
||||
}
|
||||
|
||||
Vector3dDouble::Vector3dDouble() :
|
||||
x(0.0),
|
||||
y(0.0),
|
||||
z(0.0)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
double Vector3dDouble::getX() const
|
||||
{
|
||||
return x;
|
||||
}
|
||||
|
||||
void Vector3dDouble::setX(double value)
|
||||
{
|
||||
x = value;
|
||||
}
|
||||
|
||||
double Vector3dDouble::getY() const
|
||||
{
|
||||
return y;
|
||||
}
|
||||
|
||||
void Vector3dDouble::setY(double value)
|
||||
{
|
||||
y = value;
|
||||
}
|
||||
|
||||
double Vector3dDouble::getZ() const
|
||||
{
|
||||
return z;
|
||||
}
|
||||
|
||||
void Vector3dDouble::setZ(double value)
|
||||
{
|
||||
z = value;
|
||||
}
|
||||
Reference in New Issue
Block a user