Computes a rotated triangle.

Namespace:  ceometric.VectorGeometry
Assembly:  ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)

Syntax

C#
public Triangle Rotate(
	Point center,
	Matrix3d rotationMatrix
)
Visual Basic (Declaration)
Public Function Rotate ( _
	center As Point, _
	rotationMatrix As Matrix3d _
) As Triangle
Visual C++
public:
Triangle^ Rotate(
	Point^ center, 
	Matrix3d^ rotationMatrix
)

Parameters

center
Type: ceometric.VectorGeometry..::.Point
The center of rotation.
rotationMatrix
Type: ceometric.VectorGeometry..::.Matrix3d
A rotation matrix.

Return Value

Returns a rotated triangle. The rotation matrix can easily be generated using the static Matrix3d.Rotation... matrices.

Remarks

This method does not check if rotationMatrix is a rotation matrix. If it is not, the object gets distorted.

See Also