TouchVG framework
Point2d
add
asVector
distanceSquare
distanceTo
get
isDegenerate
isEqualTo
kInvalid
kOrigin
length
negate
offset
offset
operator!=
operator*
operator*
operator*
operator*
operator*=
operator*=
operator+
operator+
operator+
operator+=
operator+=
operator-
operator-
operator-
operator-=
operator/
operator/=
operator==
Point2d
Point2d
Point2d
polarPoint
rulerPoint
rulerPoint
scaleBy
scaleBy
set
set
subtract
subtract
transform
x
y
◆
isEqualTo()
bool Point2d::isEqualTo
(
const
Point2d
&
pnt
,
const
Tol
&
tol
=
Tol::gTol
()
)
const
用欧拉规则判断两个点是否相等
如果两个点的距离小于长度容差,则相等
参数
pnt
比较的另一个点
tol
判断的容差,用到其长度容差
返回
如果相等,则返回true,否则返回false
函数调用图:
这是这个函数的调用关系图:
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证