Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FreeCAD/FreeCAD
/ getUnit
Method
getUnit
src/Base/QuantityPyImp.cpp:643–646 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
641
}
642
643
Py::Object QuantityPy::getUnit() const
644
{
645
return Py::asObject(new UnitPy(new Unit(getQuantityPtr()->getUnit())));
646
}
647
648
void QuantityPy::setUnit(Py::Object arg)
649
{
Callers
15
setPyObject
Method · 0.45
setPathValue
Method · 0.45
ExpressionParser.h
File · 0.45
collect
Method · 0.45
collect
Method · 0.45
getQuantity
Method · 0.45
evaluate
Method · 0.45
PyInit
Method · 0.45
rotateX
Method · 0.45
rotateY
Method · 0.45
rotateZ
Method · 0.45
Quantity
Method · 0.45
Calls
no outgoing calls
Tested by
1
test_ImpliedUnitIgnoresLengthExpression
Method · 0.36