GCS: Extension of solver geometric elements to store whether they have dependent parameters

This commit is contained in:
Abdullah Tahiri
2018-02-14 19:12:09 +01:00
committed by wmayer
parent f88daf23cc
commit 05e8a7cec2

View File

@@ -28,7 +28,14 @@
namespace GCS
{
class Point
class DependentParameters
{
public:
DependentParameters():hasDependentParameters(false) {}
bool hasDependentParameters;
};
class Point : public DependentParameters
{
public:
Point(){x = 0; y = 0;}
@@ -88,7 +95,7 @@ namespace GCS
// Geometries
///////////////////////////////////////
class Curve //a base class for all curve-based objects (line, circle/arc, ellipse/arc)
class Curve: public DependentParameters //a base class for all curve-based objects (line, circle/arc, ellipse/arc)
{
public:
virtual ~Curve(){}