龙宫STC SDK API Manual
龙宫STC SDK API Manual
龙宫STC SDK API 手册
LoongCAD.Geometry
Plane Class
Plane Methods
Clone Method
CreateByXZ Method
Dist Method
Distance Method
Equals Method
FromDir2d Method
FromPlaneSpace Method
FromPoint2d Method
GetHashCode Method
Intersect Method
IntersectLine Method
IntersectOBox Method
IntersectRay Method
Invert Method
InvertThis Method
Move Method
MoveThis Method
Normalize Method
NormalizeThis Method
ProjectPoint Method
SetXY Method
SignedDist Method
SignedDistance Method
ToDir2d Method
ToPlaneSpace Method
ToPoint2d Method
TranformThis Method
Transform Method
Plane
To
Dir
2d Method
返回用户文档首页
将三维向量转换为平面上的方向向量(二维)。
Namespace:
LoongCAD.Geometry
Assembly:
LoongSDKCore (in LoongSDKCore.dll) Version: 2025.0.9.7 (2025.0.9.7)
Syntax
C#
Copy
public
Vec2
ToDir2d
(
Vec3
vec
)
Parameters
vec
Vec3
三维向量。
Return Value
Vec2
平面上的二维方向向量。
See Also
Reference
Plane Class
LoongCAD.Geometry Namespace
返回首页
https://www.loongcad.com