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
◆
ptToBeeline()
float mglnrel::ptToBeeline
(
const
Point2d
&
a
,
const
Point2d
&
b
,
const
Point2d
&
pt
)
static
计算点pt到无穷直线ab的距离
参数
[in]
a
无穷直线的起点
[in]
b
无穷直线的终点
[in]
pt
给定的测试点
返回
点到无穷直线的距离
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证