Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

c8e0289a ad07 9af4 dc28 97ceb49d7cc0

haplokuon edited this page May 6, 2023 · 1 revision

Rotation Method

netDxf 3.0.0 Library

Builds a rotation matrix for a rotation.

Definition

Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static Matrix2 Rotation(
	double angle
)

VB

Public Shared Function Rotation ( 
	angle As Double
) As Matrix2

C++

public:
static Matrix2 Rotation(
	double angle
)

F#

static member Rotation : 
        angle : float -> Matrix2 

Parameters

  Double
The counter-clockwise angle in radians.

Return Value

Matrix2
The resulting Matrix2 instance.

Remarks

Matrix2 adopts the convention of using column vectors to represent a transformation matrix.

See Also

Reference

Matrix2 Structure
netDxf Namespace

Clone this wiki locally