Start cleaning geometry module.
This commit is contained in:
parent
26ecae46b3
commit
cd688f608f
52 changed files with 493 additions and 277 deletions
|
@ -1,5 +1,7 @@
|
|||
#include "Point.h"
|
||||
|
||||
#include <cmath>
|
||||
|
||||
Point::Point(double x, double y, double z)
|
||||
: mX(x),
|
||||
mY(y),
|
||||
|
@ -8,8 +10,8 @@ Point::Point(double x, double y, double z)
|
|||
}
|
||||
|
||||
Point::Point(const DiscretePoint& point)
|
||||
: mX(point.GetX()),
|
||||
mY(point.GetY()),
|
||||
: mX(static_cast<double>(point.getX())),
|
||||
mY(static_cast<double>(point.getY())),
|
||||
mZ(0)
|
||||
{
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue