Added new property type App::PropertyVolume

This commit is contained in:
Yorik van Havre
2016-10-04 16:02:30 -03:00
parent 9a411f9857
commit fe40bad92d
3 changed files with 26 additions and 0 deletions

View File

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