Click or drag to resize

Vec2Rotate Method

返回用户文档首页
绕原点旋转当前向量。

Namespace: LoongCAD.Geometry
Assembly: LoongSDKCore (in LoongSDKCore.dll) Version: 2025.0.9.8 (2025.0.9.8)
Syntax
C#
public Vec2 Rotate(
	double rad
)

Parameters

rad  Double
旋转的角度,以弧度为单位。

Return Value

Vec2
旋转后的新向量。
See Also