Ammending stiffness units

This commit is contained in:
Preslav
2021-08-31 11:23:01 +01:00
committed by Bernd Hahnebach
parent 421ece90b6
commit d7ac25e3cf
3 changed files with 32 additions and 0 deletions

View File

@@ -324,6 +324,18 @@ PropertyPressure::PropertyPressure()
setUnit(Base::Unit::Pressure);
}
//**************************************************************************
//**************************************************************************
// PropertyStiffness
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
TYPESYSTEM_SOURCE(App::PropertyStiffness, App::PropertyQuantity)
PropertyStiffness::PropertyStiffness()
{
setUnit(Base::Unit::Stiffness);
}
//**************************************************************************
//**************************************************************************
// PropertyForce

View File

@@ -227,6 +227,18 @@ public:
virtual ~PropertyPressure(){}
};
/** Stiffness property
* This is a property for representing stiffness. It is basically a float
* property. On the Gui it has a quantity like m/s^2.
*/
class AppExport PropertyStiffness: public PropertyQuantity
{
TYPESYSTEM_HEADER();
public:
PropertyStiffness(void);
virtual ~PropertyStiffness(){}
};
/** Force property
* This is a property for representing acceleration. It is basically a float
* property. On the Gui it has a quantity like m/s^2.