龙宫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
Normalize Method
返回用户文档首页
规范化当前向量,使其长度为 1。
Namespace:
LoongCAD.Geometry
Assembly:
LoongSDKCore (in LoongSDKCore.dll) Version: 2025.0.9.8 (2025.0.9.8)
Syntax
C#
Copy
public
Vec2
Normalize
()
Return Value
Vec2
规范化后的 Vec2 向量。如果当前向量长度为 0,则返回 Vec2.ZERO。
See Also
Reference
Vec2 Structure
LoongCAD.Geometry Namespace
返回首页
https://www.loongcad.com