载入中...
搜索中...
未找到
ConvexHull.h
浏览该文件的文档.
46[[nodiscard]] EVENGINE_API_FOUNDATION Result<ConvexHull2D> convexHull2D(std::span<const HullPoint2> points);
63[[nodiscard]] EVENGINE_API_FOUNDATION Result<ConvexHull3D> convexHull3D(std::span<const HullPoint3> points,
#define EVENGINE_API_FOUNDATION_INLINE
仅供"只有内联成员"的类型使用的组宏:拥有者 dllexport,消费方不导入。
Definition Export.h:170
Move-only, checked operation results for the common layer.
Definition SmoothMax.h:10
std::array< float, 3 > HullPoint3
Owned XYZ coordinates; no script object or module lifetime required.
Definition ConvexHull.h:16
std::array< float, 2 > HullPoint2
Owned XY coordinates; no script object or module lifetime required.
Definition ConvexHull.h:14
HullDimension
Affine dimension of a successful hull, including degenerate inputs.
Definition ConvexHull.h:21
@ Segment
@ Volume
Result< ConvexHull3D > convexHull3D(std::span< const HullPoint3 > input, double tolerance)
Incremental 3D hull with outward triangles and compact vertex indices.
Definition ConvexHull.cpp:73
Result< ConvexHull2D > convexHull2D(std::span< const HullPoint2 > points)
Andrew monotone-chain hull; removes exact duplicates and collinear edge interiors.
Definition ConvexHull.cpp:59
std::array< std::size_t, 3 > HullTriangle
Triangle indices into the returned vertex array.
Definition ConvexHull.h:18
Self-contained 2D hull; vertices are CCW, with no repeated closing point.
Definition ConvexHull.h:24
Self-contained 3D hull; volume triangles face outward.
Definition ConvexHull.h:30