brutal/brutal.jolt/Brutal.Jolt/Generated/PInvoke/AABox.gen.cs
2026-10-15 14:12:02 +13:00

402 lines
18 KiB
C#

// <auto-generated/>
// Generated by Brutal.Jolt.Generate; do not edit by hand.
#nullable enable
using Brutal.Interop;
using Brutal.Numerics;
namespace Brutal.JoltApi
{
public static partial class Jolt
{
public static unsafe partial class PInvoke
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L21">Jolt/Geometry/AABox.h:21</see>
/// <br/>
/// <c>AABox()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Constructor
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_Create")]
public static partial AABox AABox_Create();
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L22">Jolt/Geometry/AABox.h:22</see>
/// <br/>
/// <c>AABox(Vec3Arg inMin, Vec3Arg inMax)</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "AABox_Create_2")]
public static partial AABox AABox_Create_2(float3 min, float3 max);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L24">Jolt/Geometry/AABox.h:24</see>
/// <br/>
/// <c>AABox(Vec3Arg inCenter, float inRadius)</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "AABox_Create_3")]
public static partial AABox AABox_Create_3(float3 center, float radius);
[LibraryImport("jolt", EntryPoint = "AABox_Destroy")]
public static partial void AABox_Destroy(AABox self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L49">Jolt/Geometry/AABox.h:49</see>
/// <br/>
/// <c>void SetEmpty()</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Reset the bounding box to an empty bounding box
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_SetEmpty")]
public static partial void AABox_SetEmpty(AABox self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L56">Jolt/Geometry/AABox.h:56</see>
/// <br/>
/// <c>bool IsValid() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Check if the bounding box is valid (max &gt;= min)
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_IsValid")]
public static partial Brutal.Bool8 AABox_IsValid(AABox self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L62">Jolt/Geometry/AABox.h:62</see>
/// <br/>
/// <c>void Encapsulate(Vec3Arg inPos)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Encapsulate point in bounding box
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_Encapsulate")]
public static partial void AABox_Encapsulate(AABox self, float3 pos);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L69">Jolt/Geometry/AABox.h:69</see>
/// <br/>
/// <c>void Encapsulate(const AABox &amp;inRHS)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Encapsulate bounding box in bounding box
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_Encapsulate_2")]
public static partial void AABox_Encapsulate_2(AABox self, AABox rHS);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L76">Jolt/Geometry/AABox.h:76</see>
/// <br/>
/// <c>void Encapsulate(const Triangle &amp;inRHS)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Encapsulate triangle in bounding box
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_Encapsulate_3")]
public static partial void AABox_Encapsulate_3(AABox self, Triangle rHS);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L100">Jolt/Geometry/AABox.h:100</see>
/// <br/>
/// <c>void EnsureMinimalEdgeLength(float inMinEdgeLength)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Make sure that each edge of the bounding box has a minimal length
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_EnsureMinimalEdgeLength")]
public static partial void AABox_EnsureMinimalEdgeLength(AABox self, float minEdgeLength);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L107">Jolt/Geometry/AABox.h:107</see>
/// <br/>
/// <c>void ExpandBy(Vec3Arg inVector)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Widen the box on both sides by inVector
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_ExpandBy")]
public static partial void AABox_ExpandBy(AABox self, float3 vector);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L114">Jolt/Geometry/AABox.h:114</see>
/// <br/>
/// <c>Vec3 GetCenter() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Get center of bounding box
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_GetCenter")]
public static partial float3 AABox_GetCenter(AABox self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L120">Jolt/Geometry/AABox.h:120</see>
/// <br/>
/// <c>Vec3 GetExtent() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Get extent of bounding box (half of the size)
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_GetExtent")]
public static partial float3 AABox_GetExtent(AABox self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L126">Jolt/Geometry/AABox.h:126</see>
/// <br/>
/// <c>Vec3 GetSize() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Get size of bounding box
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_GetSize")]
public static partial float3 AABox_GetSize(AABox self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L132">Jolt/Geometry/AABox.h:132</see>
/// <br/>
/// <c>float GetSurfaceArea() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Get surface area of bounding box
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_GetSurfaceArea")]
public static partial float AABox_GetSurfaceArea(AABox self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L139">Jolt/Geometry/AABox.h:139</see>
/// <br/>
/// <c>float GetVolume() const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Get volume of bounding box
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_GetVolume")]
public static partial float AABox_GetVolume(AABox self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L146">Jolt/Geometry/AABox.h:146</see>
/// <br/>
/// <c>bool Contains(const AABox &amp;inOther) const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Check if this box contains another box
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_Contains")]
public static partial Brutal.Bool8 AABox_Contains(AABox self, AABox other);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L152">Jolt/Geometry/AABox.h:152</see>
/// <br/>
/// <c>bool Contains(Vec3Arg inOther) const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Check if this box contains a point
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_Contains_2")]
public static partial Brutal.Bool8 AABox_Contains_2(AABox self, float3 other);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L164">Jolt/Geometry/AABox.h:164</see>
/// <br/>
/// <c>bool Overlaps(const AABox &amp;inOther) const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Check if this box overlaps with another box
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_Overlaps")]
public static partial Brutal.Bool8 AABox_Overlaps(AABox self, AABox other);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L170">Jolt/Geometry/AABox.h:170</see>
/// <br/>
/// <c>bool Overlaps(const Plane &amp;inPlane) const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Check if this box overlaps with a plane
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_Overlaps_2")]
public static partial Brutal.Bool8 AABox_Overlaps_2(AABox self, Plane plane);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L179">Jolt/Geometry/AABox.h:179</see>
/// <br/>
/// <c>void Translate(Vec3Arg inTranslation)</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Translate bounding box
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_Translate")]
public static partial void AABox_Translate(AABox self, float3 translation);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L230">Jolt/Geometry/AABox.h:230</see>
/// <br/>
/// <c>Vec3 GetSupport(Vec3Arg inDirection) const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Calculate the support vector for this convex shape.
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_GetSupport")]
public static partial float3 AABox_GetSupport(AABox self, float3 direction);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L297">Jolt/Geometry/AABox.h:297</see>
/// <br/>
/// <c>Vec3 GetClosestPoint(Vec3Arg inPoint) const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Get the closest point on or in this box to inPoint
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_GetClosestPoint")]
public static partial float3 AABox_GetClosestPoint(AABox self, float3 point);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L303">Jolt/Geometry/AABox.h:303</see>
/// <br/>
/// <c>inline float GetSqDistanceTo(Vec3Arg inPoint) const</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Get the squared distance between inPoint and this box (will be 0 if in Point is inside the box)
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_GetSqDistanceTo")]
public static partial float AABox_GetSqDistanceTo(AABox self, float3 point);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L309">Jolt/Geometry/AABox.h:309</see>
/// <br/>
/// <c>Vec3 mMin</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Bounding box min and max
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_GetMin")]
public static partial float3 AABox_GetMin(AABox self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L309">Jolt/Geometry/AABox.h:309</see>
/// <br/>
/// <c>Vec3 mMin</c>
/// </para>
/// </summary>
/// <remarks>
/// <para>
/// Bounding box min and max
/// </para>
/// </remarks>
[LibraryImport("jolt", EntryPoint = "AABox_SetMin")]
public static partial void AABox_SetMin(AABox self, float3 value);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L310">Jolt/Geometry/AABox.h:310</see>
/// <br/>
/// <c>Vec3 mMax</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "AABox_GetMax")]
public static partial float3 AABox_GetMax(AABox self);
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/Jolt/Geometry/AABox.h#L310">Jolt/Geometry/AABox.h:310</see>
/// <br/>
/// <c>Vec3 mMax</c>
/// </para>
/// </summary>
[LibraryImport("jolt", EntryPoint = "AABox_SetMax")]
public static partial void AABox_SetMax(AABox self, float3 value);
}
}
}