Class ConvexPairSweepTask<TShapeA, TShapeWideA, TShapeB, TShapeWideB, TPairDistanceTester>
- Namespace
- BepuPhysics.CollisionDetection.SweepTasks
- Assembly
- BepuPhysics.dll
public class ConvexPairSweepTask<TShapeA, TShapeWideA, TShapeB, TShapeWideB, TPairDistanceTester> : SweepTask where TShapeA : unmanaged, IConvexShape where TShapeWideA : unmanaged, IShapeWide<TShapeA> where TShapeB : unmanaged, IConvexShape where TShapeWideB : unmanaged, IShapeWide<TShapeB> where TPairDistanceTester : struct, IPairDistanceTester<TShapeWideA, TShapeWideB>Type Parameters
- TShapeA
- TShapeWideA
- TShapeB
- TShapeWideB
- TPairDistanceTester
- Inheritance
- 
      
      
      ConvexPairSweepTask<TShapeA, TShapeWideA, TShapeB, TShapeWideB, TPairDistanceTester>
- Inherited Members
Constructors
ConvexPairSweepTask()
public ConvexPairSweepTask()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
- shapeDataAvoid*
- localPoseARigidPose
- orientationAQuaternion
- velocityABodyVelocity
- shapeDataBvoid*
- localPoseBRigidPose
- offsetBVector3
- orientationBQuaternion
- velocityBBodyVelocity
- maximumTfloat
- minimumProgressionfloat
- convergenceThresholdfloat
- maximumIterationCountint
- t0float
- t1float
- hitLocationVector3
- hitNormalVector3
Returns
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 requiresFlip, ref TSweepFilter filter, Shapes shapes, SweepTaskRegistry sweepTasks, BufferPool pool, out float t0, out float t1, out Vector3 hitLocation, out Vector3 hitNormal) where TSweepFilter : ISweepFilterParameters
- shapeDataAvoid*
- orientationAQuaternion
- velocityABodyVelocity
- shapeDataBvoid*
- offsetBVector3
- orientationBQuaternion
- velocityBBodyVelocity
- maximumTfloat
- minimumProgressionfloat
- convergenceThresholdfloat
- maximumIterationCountint
- requiresFlipbool
- filterTSweepFilter
- shapesShapes
- sweepTasksSweepTaskRegistry
- poolBufferPool
- t0float
- t1float
- hitLocationVector3
- hitNormalVector3
Returns
Type Parameters
- TSweepFilter