IStateNodeRotatedVector Method

Rotate a vector according to a node state.

Definition

Namespace: Karamba.Elements.States
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
Vector3 RotatedVector(
	Vector3 dir,
	out int selectionInd,
	double scalingFactor = 1
)

Parameters

dir  Vector3
Vector to be rotated.
selectionInd  Int32
Index of the load case within the given load cases from which the result originates.
scalingFactor  Double  (Optional)
Scaling factor for the rotation.

Return Value

Vector3
Rotated Vector.

See Also