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
◆
isConvex()
bool mglnrel::isConvex
(
int
count
,
const
Point2d
*
vertexs
,
bool *
acw
=
(bool*)0
)
static
判断多边形是否为凸多边形
参数
[in]
count
顶点个数
[in]
vertexs
顶点数组
[out]
acw
多边形是否为逆时针方向,为NULL则忽略该参数
返回
是否为凸多边形
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证