[TD]Refactor LTNP correction code for Dimensions

- additional geometry types

- add method to handle line like bsplines

- handle deleted ref body feature

- add test for empty savedGeometry

- add switch for matcher/LTNP on/off
This commit is contained in:
wmayer
2024-02-20 14:43:02 +01:00
committed by WandererFan
parent 1bc62cf113
commit 48ff9ad3a1
16 changed files with 1507 additions and 674 deletions

View File

@@ -630,10 +630,9 @@ void QGIViewDimension::updateView(bool update)
updateDim();
}
if (dim->goodReferenceGeometry()) {
if (dim->hasGoodReferences()) {
m_refFlag->hide();
} else {
// m_refFlag->setPos(datumLabel->pos());
m_refFlag->centerAt(datumLabel->pos() + datumLabel->boundingRect().center());
m_refFlag->show();
}