Added new property type App::PropertyVolume
This commit is contained in:
@@ -245,6 +245,19 @@ PropertyArea::PropertyArea()
|
||||
setConstraints(&LengthStandard);
|
||||
}
|
||||
|
||||
//**************************************************************************
|
||||
//**************************************************************************
|
||||
// PropertyVolume
|
||||
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
TYPESYSTEM_SOURCE(App::PropertyVolume, App::PropertyQuantityConstraint);
|
||||
|
||||
PropertyVolume::PropertyVolume()
|
||||
{
|
||||
setUnit(Base::Unit::Volume);
|
||||
setConstraints(&LengthStandard);
|
||||
}
|
||||
|
||||
//**************************************************************************
|
||||
//**************************************************************************
|
||||
// PropertyAngle
|
||||
|
||||
Reference in New Issue
Block a user