BIMHome
v1.0.0
BIMHome接口文档说明
首页
相关页面
Topics
包
类
文件
Base
Vector2d
alongLineAngleMoveDistancePt
alongLineNormalDir
alongLineNormalMoveDistancePt
Angle
Distance
Distance
FromPolar
GetAngle
IsEqual
IsLess
IsNull
Length
moveAlongLine
Negate
Normalize
operator*
operator*
operator*=
operator+
operator+
operator+=
operator-
operator-
operator-=
operator/
operator/=
operator=
operator==
Perpendicular
perpendicularPointOnLine
ProjectToLine
Rotate
Scale
Set
Sqr
Vector2d
Vector2d
Vector2d
Vector2d
x
y
◆
ProjectToLine()
void ProjectToLine
(
const
Vector2d
&
point
,
const
Vector2d
&
line
)
将向量投影到一条直线上
将向量投影到由点 point 和方向向量 line 定义的直线上。
参数
[in]
point
直线上的点
[in]
line
直线的方向向量