TouchVG framework
Box2d
Box2d
Box2d
Box2d
Box2d
Box2d
Box2d
Box2d
Box2d
Box2d
Box2d
center
contains
contains
contains
contains
deflate
deflate
deflate
deflate
deflate
empty
get
get
get
height
inflate
inflate
inflate
inflate
inflate
intersectWith
intersectWith
isEmpty
isEmptyMinus
isEqualTo
isIntersect
isNormalized
isNull
kIdentity
leftBottom
leftTop
normalize
offset
offset
offset
operator &
operator &=
operator!=
operator*
operator*
operator*=
operator*=
operator+
operator+
operator+=
operator+=
operator-
operator-
operator-=
operator-=
operator/
operator/=
operator==
operator|
operator|=
rightBottom
rightTop
scaleBy
set
set
set
set
set
set
size
swapTopBottom
unionWith
unionWith
unionWith
unionWith
width
xmax
xmin
ymax
ymin
◆
isIntersect()
bool Box2d::isIntersect
(
const
Box2d
&
box
)
const
判断是否和一个矩形框相交(两者都是规范化矩形)
如果其中一个矩形为空矩形或非规范化矩形,则返回false。
参数
box
另一个矩形框,必须规范化
返回
是否相交,失败时返回false
函数调用图:
这是这个函数的调用关系图:
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证