Rotate a collection of objects in the 3D space

Namespace: Ico.Gwx
Assembly: Gwx3DControl (in Gwx3DControl.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public void RotateObjects(
	Vector3D rotation,
	Vector3D centerOffset,
	ICollection collection,
	DependencyObject head
)
Visual Basic
Public Sub RotateObjects ( _
	rotation As Vector3D, _
	centerOffset As Vector3D, _
	collection As ICollection, _
	head As DependencyObject _
)
JScript
public function RotateObjects(
	rotation : Vector3D, 
	centerOffset : Vector3D, 
	collection : ICollection, 
	head : DependencyObject
)

Parameters

rotation
Type: System.Windows.Media.Media3D..::..Vector3D
the rotation vector: each individual part of the vector represents a rotation along one of the main axis (X, Y, Z) in degree
centerOffset
Type: System.Windows.Media.Media3D..::..Vector3D
represents the offset for the center of rotation relatively to the center of the head object, in world coordinate
collection
Type: System.Collections..::..ICollection
the collection of objects to rotate
head
Type: System.Windows..::..DependencyObject
the head object used as a reference for the rotation

See Also