Click or drag to resize
AB4D logo

MathUtilsRotate Method (Vector3D, Double, Double)

Rotates the Vector3D for heading and attitude in degrees

Namespace:  Ab3d.Utilities
Assembly:  Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 9.5.7760.1045
Syntax
C#
public static Vector3D Rotate(
	Vector3D originalVector,
	double heading,
	double attitude
)

Parameters

originalVector
Type: System.Windows.Media.Media3DVector3D
Vector3D to rotate
heading
Type: SystemDouble
heading in degrees
attitude
Type: SystemDouble
attitude in degrees

Return Value

Type: Vector3D
rotated vector
See Also