|
◆ beziersIntersectBox()
bool mgnear::beziersIntersectBox |
( |
const Box2d & |
box, |
|
|
int |
count, |
|
|
const Point2d * |
points, |
|
|
bool |
closed = false |
|
) |
| |
|
static |
判断贝塞尔曲线是否与矩形相交
- 参数
-
[in] | box | 指定的矩形 |
[in] | count | 点的个数,至少为4,必须为3的倍数加1 |
[in] | points | 控制点和端点的数组,点数为count |
[in] | closed | 是否为闭合曲线 |
- 返回
- 是否相交
- 参见
- mgcurv::cubicSplines, mgBeziersBox2, mgBeziersBox
|