TouchVG framework
mglnrel
clipLine
cross2Beeline
cross2Line
cross2LineV
crossLineAbc
crossLineBeeline
isBetweenLine
isBetweenLine2
isBetweenLine3
isColinear
isColinear2
isConvex
isIntersect
isIntersectProp
isLeft
isLeft2
isLeftOn
isLeftOn2
isProjectBetweenLine
isProjectBetweenRayline
ptInArea
PtInAreaRet
ptToBeeline
ptToBeeline2
ptToLine
◆
ptToBeeline2()
float mglnrel::ptToBeeline2
(
const
Point2d
&
a
,
const
Point2d
&
b
,
Point2d
pt
,
Point2d
&
ptPerp
)
static
计算点pt到无穷直线ab的距离
参数
[in]
a
无穷直线的起点
[in]
b
无穷直线的终点
[in]
pt
给定的测试点
[out]
ptPerp
直线上的垂足
返回
独立点到垂足的距离
函数调用图:
这是这个函数的调用关系图:
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证