Added App::PropertyArea (same as PropertyLength but uses Area units)
This commit is contained in:
@@ -232,6 +232,19 @@ PropertyLength::PropertyLength()
|
||||
setConstraints(&LengthStandard);
|
||||
}
|
||||
|
||||
//**************************************************************************
|
||||
//**************************************************************************
|
||||
// PropertyArea
|
||||
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
TYPESYSTEM_SOURCE(App::PropertyArea, App::PropertyQuantityConstraint);
|
||||
|
||||
PropertyArea::PropertyArea()
|
||||
{
|
||||
setUnit(Base::Unit::Area);
|
||||
setConstraints(&LengthStandard);
|
||||
}
|
||||
|
||||
//**************************************************************************
|
||||
//**************************************************************************
|
||||
// PropertyAngle
|
||||
|
||||
Reference in New Issue
Block a user