//
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
using Brutal.Interop;
using Brutal.Numerics;
namespace Brutal.JoltApi
{
///
///
/// C++:
/// Jolt/Geometry/ConvexHullBuilder2D.h:14
///
/// class ConvexHullBuilder2D : public NonCopyable
///
///
///
///
/// A convex hull builder that tries to create 2D hulls as accurately as possible. Used for offline processing.
///
///
[InteropHandle]
public readonly partial struct ConvexHullBuilder2D : IDisposable
{
///
///
/// C++:
/// Jolt/Geometry/ConvexHullBuilder2D.h:28
///
/// enum class EResult
///
///
///
///
/// Result enum that indicates how the hull got created
///
///
public enum EResult : int
{
///
///
/// Hull building finished successfully
///
///
/// C++:
/// Jolt/Geometry/ConvexHullBuilder2D.h:30
///
/// Success
///
///
Success,
///
///
/// Hull building finished successfully, but the desired accuracy was not reached because the max
/// vertices limit was reached
///
///
/// C++:
/// Jolt/Geometry/ConvexHullBuilder2D.h:31
///
/// MaxVerticesReached
///
///
MaxVerticesReached,
}
public void Dispose() => Jolt.PInvoke.ConvexHullBuilder2D_Destroy(this);
}
}