Convert visual layers to scene nodes.
This commit is contained in:
parent
798cb365d7
commit
3e53bd9e00
64 changed files with 863 additions and 551 deletions
|
@ -9,7 +9,7 @@ class Point
|
|||
{
|
||||
public:
|
||||
|
||||
Point(double x, double y, double z = 0);
|
||||
Point(double x = 0, double y = 0, double z = 0);
|
||||
|
||||
Point(const DiscretePoint& point);
|
||||
|
||||
|
@ -33,6 +33,17 @@ public:
|
|||
|
||||
double getDeltaY(const Point& point) const;
|
||||
|
||||
bool operator==(const Point& rhs) const
|
||||
{
|
||||
return (mX == rhs.mX)
|
||||
&& (mY == rhs.mY)
|
||||
&& (mZ == rhs.mZ);
|
||||
}
|
||||
bool operator!=(const Point& rhs) const
|
||||
{
|
||||
return !operator==(rhs);
|
||||
}
|
||||
|
||||
private:
|
||||
double mX{0};
|
||||
double mY{0};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue