网站首页
编程语言
数据库
系统相关
其他分享
编程问答
plst
2024-08-23
Qt5.14.2 多边形与多边形求交集
利用Qt5.14.2中自带的QPolygonF类的intersected()函数求两个多边形的交集多边形。inlineQList<QPolygonF>getPolygonIntersectedWithPolygon(QPolygonFpolygon1,QPolygonFpolygon2){QList<QPolygonF>outval;//此处求出的intersection可能包含多个子