[TD]fix dimension autocorrect

- autocorrect was not handling scaled and rotated reference geometry
  properly.
This commit is contained in:
wandererfan
2024-05-05 20:38:14 -04:00
parent 15b612ebca
commit d2d93458e9
17 changed files with 701 additions and 563 deletions

View File

@@ -128,7 +128,10 @@ public:
virtual bool haveTolerance();
virtual double getDimValue();
QStringList getPrefixSuffixSpec(QString fSpec);
virtual double getTrueDimValue() const;
virtual double getProjectedDimValue() const;
QStringList getPrefixSuffixSpec(const QString& fSpec);
virtual DrawViewPart* getViewPart() const;
QRectF getRect() const override
@@ -238,6 +241,7 @@ protected:
void updateSavedGeometry();
bool validateReferenceForm() const;
bool autocorrectReferences();
private:
static const char* TypeEnums[];