龙宫STC SDK API Manual
龙宫STC SDK API Manual
龙宫STC SDK API 手册
LoongCAD.Geometry
Vec2 Structure
Vec2 Methods
Along Method
ClockRad Method
Cross Method
Dist Method
DistSqr Method
Dot Method
Equals Method
GetHashCode Method
LengthSqr Method
Max Method
Min Method
Normalize Method
Rotate Method
SelfNormalize Method
Set Method
ToPoint Method
ToPointf Method
ToSize Method
ToString Method
ToVec2i Method
Vec
2
Rotate Method
返回用户文档首页
绕原点旋转当前向量。
Namespace:
LoongCAD.Geometry
Assembly:
LoongSDKCore (in LoongSDKCore.dll) Version: 2024.0.9.3 (2024.0.9.3)
Syntax
C#
Copy
public
Vec2
Rotate
(
double
rad
)
Parameters
rad
Double
旋转的角度,以弧度为单位。
Return Value
Vec2
旋转后的新向量。
See Also
Reference
Vec2 Structure
LoongCAD.Geometry Namespace
返回首页
https://www.loongcad.com