You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kev/Drawer/SSBase/VoronoiMap/PolygonOperation.h

29 lines
519 B
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#pragma once
#ifndef AFX_EXT_CLASS
#define AFX_EXT_CLASS Q_DECL_IMPORT
#endif
#include <vector>
#include <set>
using std::vector;
using std::set;
#include "InterfaceElements.h"
/*@file: CPolygonOperation.h
* @desc: 用于多边形之间的运算,交并补等
* @date: 2024.7.24
*/
class AFX_EXT_CLASS CPolygonOperation
{
public:
CPolygonOperation(void);
public:
//对输入一系列边界进行挖空处理,生成 XOR多边形 srcPgns = 所有的边界和孔洞
static int DigHoles(vector<CPolyline*>& srcPgns, vector<CPolyline*>& dstPgns);
};