Table of Contents

Struct GJKDistanceTester<TShapeA, TShapeWideA, TSupportFinderA, TShapeB, TShapeWideB, TSupportFinderB>

Namespace
BepuPhysics.CollisionDetection.SweepTasks
Assembly
BepuPhysics.dll
public struct GJKDistanceTester<TShapeA, TShapeWideA, TSupportFinderA, TShapeB, TShapeWideB, TSupportFinderB> : IPairDistanceTester<TShapeWideA, TShapeWideB> where TShapeA : unmanaged, IConvexShape where TShapeWideA : unmanaged, IShapeWide<TShapeA> where TSupportFinderA : struct, ISupportFinder<TShapeA, TShapeWideA> where TShapeB : unmanaged, IConvexShape where TShapeWideB : unmanaged, IShapeWide<TShapeB> where TSupportFinderB : struct, ISupportFinder<TShapeB, TShapeWideB>

Type Parameters

TShapeA
TShapeWideA
TSupportFinderA
TShapeB
TShapeWideB
TSupportFinderB
Implements
IPairDistanceTester<TShapeWideA, TShapeWideB>
Inherited Members

Fields

ContainmentEpsilon

public float ContainmentEpsilon

Field Value

float

ContainmentEpsilonDefault

public const float ContainmentEpsilonDefault = 0.00031622776

Field Value

float

TerminationEpsilon

public float TerminationEpsilon

Field Value

float

TerminationEpsilonDefault

public const float TerminationEpsilonDefault = 1E-07

Field Value

float

Methods

Test(in TShapeWideA, in TShapeWideB, in Vector3Wide, in QuaternionWide, in QuaternionWide, in Vector<int>, out Vector<int>, out Vector<float>, out Vector3Wide, out Vector3Wide)

public void Test(in TShapeWideA a, in TShapeWideB b, in Vector3Wide offsetB, in QuaternionWide orientationA, in QuaternionWide orientationB, in Vector<int> inactiveLanes, out Vector<int> intersected, out Vector<float> distance, out Vector3Wide closestA, out Vector3Wide normal)

Parameters

a TShapeWideA
b TShapeWideB
offsetB Vector3Wide
orientationA QuaternionWide
orientationB QuaternionWide
inactiveLanes Vector<int>
intersected Vector<int>
distance Vector<float>
closestA Vector3Wide
normal Vector3Wide