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
+20
View File
@@ -0,0 +1,20 @@
#pragma once
#include "vde/foundation/math_types.h"
namespace vde::foundation::exact {
enum class Orientation { Clockwise, CounterClockwise, Collinear };
enum class CircleTest { Inside, On, Outside };
/// Adaptive-precision 2D orientation test (Shewchuk)
Orientation orient_2d(const Point2D& a, const Point2D& b, const Point2D& c);
/// Adaptive-precision 3D orientation test
Orientation orient_3d(const Point3D& a, const Point3D& b,
const Point3D& c, const Point3D& d);
/// Adaptive-precision in-circle test
CircleTest in_circle(const Point2D& a, const Point2D& b,
const Point2D& c, const Point2D& d);
} // namespace vde::foundation::exact