|
ModelElementcog Method
|
calculate the center of gravity of the element.
Namespace:
Karamba.Elements
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
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