Sketcher: Made constraints aware of whether they are dimensionals or not
======================================================================== Centralise the knowledge on whether a constraint is dimensional or not within the constraint
This commit is contained in:
committed by
Yorik van Havre
parent
071bc89cf1
commit
8e2e5d7b6a
@@ -104,6 +104,9 @@ public:
|
||||
inline double getValue() const {
|
||||
return Value;
|
||||
}
|
||||
|
||||
inline bool isDimensional() const { return Type == Distance || Type == DistanceX || Type == DistanceY ||
|
||||
Type == Radius || Type == Diameter || Type == Angle || Type == SnellsLaw;}
|
||||
|
||||
friend class PropertyConstraintList;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user