载入中...
搜索中...
未找到
ConvexHull.cpp 文件参考
#include "math/ConvexHull.h"
#include <algorithm>
#include <cmath>
#include <map>
#include <utility>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::math
 

函数

Result< ConvexHull2D > eve::math::convexHull2D (std::span< const HullPoint2 > points)
 Andrew monotone-chain hull; removes exact duplicates and collinear edge interiors.
 
Result< ConvexHull3D > eve::math::convexHull3D (std::span< const HullPoint3 > points, double tolerance=1e-10)
 Incremental 3D hull with outward triangles and compact vertex indices.