Table of Contents

Class ConvexHomogeneousCompoundSweepTask<TConvex, TConvexWide, TCompound, TChildType, TChildTypeWide, TOverlapFinder>

Namespace
BepuPhysics.CollisionDetection.SweepTasks
Assembly
BepuPhysics.dll
public class ConvexHomogeneousCompoundSweepTask<TConvex, TConvexWide, TCompound, TChildType, TChildTypeWide, TOverlapFinder> : SweepTask where TConvex : unmanaged, IConvexShape where TConvexWide : unmanaged, IShapeWide<TConvex> where TCompound : unmanaged, IHomogeneousCompoundShape<TChildType, TChildTypeWide> where TChildType : unmanaged, IConvexShape where TChildTypeWide : unmanaged, IShapeWide<TChildType> where TOverlapFinder : struct, IConvexCompoundSweepOverlapFinder<TConvex, TCompound>

Type Parameters

TConvex
TConvexWide
TCompound
TChildType
TChildTypeWide
TOverlapFinder
Inheritance
ConvexHomogeneousCompoundSweepTask<TConvex, TConvexWide, TCompound, TChildType, TChildTypeWide, TOverlapFinder>
Inherited Members

Constructors

ConvexHomogeneousCompoundSweepTask()

public ConvexHomogeneousCompoundSweepTask()

Methods

PreorderedTypeSweep(void*, in RigidPose, Quaternion, in BodyVelocity, void*, in RigidPose, Vector3, Quaternion, in BodyVelocity, float, float, float, int, out float, out float, out Vector3, out Vector3)

protected override bool PreorderedTypeSweep(void* shapeDataA, in RigidPose localPoseA, Quaternion orientationA, in BodyVelocity velocityA, void* shapeDataB, in RigidPose localPoseB, Vector3 offsetB, Quaternion orientationB, in BodyVelocity velocityB, float maximumT, float minimumProgression, float convergenceThreshold, int maximumIterationCount, out float t0, out float t1, out Vector3 hitLocation, out Vector3 hitNormal)

Parameters

shapeDataA void*
localPoseA RigidPose
orientationA Quaternion
velocityA BodyVelocity
shapeDataB void*
localPoseB RigidPose
offsetB Vector3
orientationB Quaternion
velocityB BodyVelocity
maximumT float
minimumProgression float
convergenceThreshold float
maximumIterationCount int
t0 float
t1 float
hitLocation Vector3
hitNormal Vector3

Returns

bool

PreorderedTypeSweep<TSweepFilter>(void*, Quaternion, in BodyVelocity, void*, Vector3, Quaternion, in BodyVelocity, float, float, float, int, bool, ref TSweepFilter, Shapes, SweepTaskRegistry, BufferPool, out float, out float, out Vector3, out Vector3)

protected override bool PreorderedTypeSweep<TSweepFilter>(void* shapeDataA, Quaternion orientationA, in BodyVelocity velocityA, void* shapeDataB, Vector3 offsetB, Quaternion orientationB, in BodyVelocity velocityB, float maximumT, float minimumProgression, float convergenceThreshold, int maximumIterationCount, bool flipRequired, ref TSweepFilter filter, Shapes shapes, SweepTaskRegistry sweepTasks, BufferPool pool, out float t0, out float t1, out Vector3 hitLocation, out Vector3 hitNormal) where TSweepFilter : ISweepFilter

Parameters

shapeDataA void*
orientationA Quaternion
velocityA BodyVelocity
shapeDataB void*
offsetB Vector3
orientationB Quaternion
velocityB BodyVelocity
maximumT float
minimumProgression float
convergenceThreshold float
maximumIterationCount int
flipRequired bool
filter TSweepFilter
shapes Shapes
sweepTasks SweepTaskRegistry
pool BufferPool
t0 float
t1 float
hitLocation Vector3
hitNormal Vector3

Returns

bool

Type Parameters

TSweepFilter