龙宫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
Length
Sqr Method
返回用户文档首页
获取向量长度的平方。
Namespace:
LoongCAD.Geometry
Assembly:
LoongSDKCore (in LoongSDKCore.dll) Version: 2025.0.9.7 (2025.0.9.7)
Syntax
C#
Copy
public
double
LengthSqr
()
Return Value
Double
向量长度的平方,避免了开方运算,适用于长度比较。
See Also
Reference
Vec2 Structure
LoongCAD.Geometry Namespace
返回首页
https://www.loongcad.com