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
◆
Perpendicular()
Vector2d
Perpendicular
(
bool
clockwise
=
false
)
const
计算向量的法向量
计算向量的法向量,可以选择顺时针或逆时针方向。
参数
[in]
clockwise
是否顺时针方向
返回
法向量