|
ModelElementStraightLinecog Method
|
calculate the center of gravity of the element
Namespace:
Karamba.Elements
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic override Point3 cog(
Model model
)
Public Overrides Function cog (
model As Model
) As Point3
public:
virtual Point3 cog(
Model^ model
) override
abstract cog :
model : Model -> Point3
override cog :
model : Model -> Point3
Parameters
- model
- Type: Karamba.ModelsModel
model this element belongs to
Return Value
Type:
Point3position of the center of gravity of the element
See Also