Click or drag to resize

CalculationsRotation Method (Vector3D, Vector3D, Axis, Boolean, Boolean)

Calculates the tilt/rotation of the specified segment around the specified axis.

Namespace:  LightBuzz
Assembly:  LightBuzz (in LightBuzz.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static float Rotation(
	Vector3D first,
	Vector3D second,
	Axis axis,
	bool signed,
	bool smallAngle
)

Parameters

first
Type: LightBuzzVector3D
The start of the segment.
second
Type: LightBuzzVector3D
The end of the segment.
axis
Type: LightBuzzAxis
The axis.
signed
Type: SystemBoolean
True for positive and negative angles. False for positive angles only.
smallAngle
Type: SystemBoolean
True to return an angle smaller than 180 degrees (convex). False otherwise.

Return Value

Type: Single
The rotation/tilt angle (in degrees).
See Also