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

c66a0a86 5ad9 278c 4816 2d69aef10cd6

haplokuon edited this page May 6, 2023 · 1 revision

Rotate Method

netDxf 3.0.0 Library

Rotates a vector.

Definition

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

C#

public static Vector2 Rotate(
	Vector2 u,
	double angle
)

VB

Public Shared Function Rotate ( 
	u As Vector2,
	angle As Double
) As Vector2

C++

public:
static Vector2 Rotate(
	Vector2 u, 
	double angle
)

F#

static member Rotate : 
        u : Vector2 * 
        angle : float -> Vector2 

Parameters

  Vector2
Vector2.
  Double
Rotation angles in radians.

Return Value

Vector2
The rotated vector.

See Also

Reference

Vector2 Structure
netDxf Namespace

Clone this wiki locally