v0.1.0: 初始工程骨架 — 7模块 40头文件 32源文件 17文档 Apache-2.0

This commit is contained in:
ViewDesignEngine
2026-07-23 05:27:51 +00:00
commit 02d0520aa5
133 changed files with 5350 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#pragma once
#include "vde/core/polygon.h"
#include <vector>
namespace vde::boolean {
enum class BooleanOp { Union, Intersection, Difference, SymDiff };
/// 2D polygon boolean operations (Vatti algorithm)
/// Currently implemented via a simple edge walking approach for convex polygons
std::vector<Polygon2D> boolean_2d(const Polygon2D& a, const Polygon2D& b, BooleanOp op);
} // namespace vde::boolean