龙宫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
To
Point Method
返回用户文档首页
将当前对象转换为 Point 类型。
Namespace:
LoongCAD.Geometry
Assembly:
LoongSDKCore (in LoongSDKCore.dll) Version: 2025.0.9.7 (2025.0.9.7)
Syntax
C#
Copy
public
Point
ToPoint
()
Return Value
Point
返回一个新的 Point 对象,其 X 和 Y 坐标分别由当前对象的 X 和 Y 值转换而来(转换为整数类型)。
See Also
Reference
Vec2 Structure
LoongCAD.Geometry Namespace
返回首页
https://www.loongcad.com