|
ModelElementcog 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 abstract Point3 cog(
Model model
)
Public MustOverride Function cog (
model As Model
) As Point3
public:
virtual Point3 cog(
Model^ model
) abstract
abstract 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