TouchVG framework
首页
模块
+
命名空间
命名空间列表
+
命名空间成员
+
全部
a
b
c
d
f
g
i
l
m
n
o
p
s
t
u
v
+
函数
a
d
f
g
i
m
n
p
s
u
v
变量
类型定义
枚举
枚举值
+
类
类列表
类继承关系
+
类成员
+
全部
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
函数
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
变量
_
a
b
c
d
f
g
h
i
j
k
l
m
n
o
p
r
s
t
v
w
x
y
z
类型定义
枚举
+
枚举值
a
b
c
d
e
k
l
r
s
t
+
属性
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
v
z
相关函数
+
文件
文件列表
+
文件成员
+
全部
_
a
b
c
d
e
f
g
i
k
m
n
p
r
s
t
u
w
x
+
函数
_
b
c
d
f
g
m
n
s
变量
类型定义
枚举
+
枚举值
k
宏定义
Vector2d
add
angle
angle2
angledVector
angleTo
angleTo2
crossProduct
distanceToVector
dotProduct
get
isCodirectionalTo
isCodirectionalTo
isDegenerate
isEqualTo
isLeftOf
isOppositeTo
isOppositeTo
isParallelTo
isParallelTo
isPerpendicularTo
isPerpendicularTo
isRightOf
isUnitVector
isZeroVector
kIdentity
kXAxis
kYAxis
length
lengthSquare
negate
normalize
operator!=
operator*
operator*
operator*
operator*
operator*
operator*=
operator*=
operator+
operator+=
operator-
operator-
operator-=
operator/
operator/
operator/=
operator==
perpVector
projectResolveVector
projectScaleToVector
resolveVector
resolveVector
scaleBy
scaleBy
scaledVector
set
set
setAngleLength
setLength
subtract
transform
unitVector
Vector2d
Vector2d
Vector2d
x
y
◆
isParallelTo()
[1/2]
bool Vector2d::isParallelTo
(
const
Vector2d
&
vec
,
const
Tol
&
tol
=
Tol::gTol
()
)
const
判断两个矢量是否平行
判断本矢量和另一个矢量是否平行,零矢量和任何矢量平行
参数
[in]
vec
另一个矢量
[in]
tol
判断的容差,用到其矢量容差值
返回
是否平行
函数调用图:
这是这个函数的调用关系图:
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证