Added App::PropertyArea (same as PropertyLength but uses Area units)

This commit is contained in:
Yorik van Havre
2016-08-29 19:26:11 -03:00
parent 0d25df0c61
commit ab803c7b40
3 changed files with 26 additions and 0 deletions

View File

@@ -232,6 +232,19 @@ PropertyLength::PropertyLength()
setConstraints(&LengthStandard);
}
//**************************************************************************
//**************************************************************************
// PropertyArea
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
TYPESYSTEM_SOURCE(App::PropertyArea, App::PropertyQuantityConstraint);
PropertyArea::PropertyArea()
{
setUnit(Base::Unit::Area);
setConstraints(&LengthStandard);
}
//**************************************************************************
//**************************************************************************
// PropertyAngle