C# Класс BEPUphysics.CollisionTests.CollisionAlgorithms.MinkowskiToolbox

Helper class that supports other systems using minkowski space operations.
Показать файл Открыть проект

Открытые методы

Метод Описание
ExpandMinkowskiSum ( float marginA, float marginB, System.Vector3 &direction, System.Vector3 &contribution ) : void

Computes the expansion of the minkowski sum due to margins in a given direction.

ExpandMinkowskiSum ( float marginA, float marginB, System.Vector3 direction, System.Vector3 &toExpandA, System.Vector3 &toExpandB ) : void

Computes the expansion of the minkowski sum due to margins in a given direction.

GetLocalMinkowskiExtremePoint ( ConvexShape shapeA, ConvexShape shapeB, System.Vector3 &direction, RigidTransform &localTransformB, System.Vector3 &extremePoint ) : void

Gets the extreme point of the minkowski difference of shapeA and shapeB in the local space of shapeA.

GetLocalMinkowskiExtremePoint ( ConvexShape shapeA, ConvexShape shapeB, System.Vector3 &direction, RigidTransform &localTransformB, System.Vector3 &extremePointA, System.Vector3 &extremePoint ) : void

Gets the extreme point of the minkowski difference of shapeA and shapeB in the local space of shapeA.

GetLocalMinkowskiExtremePoint ( ConvexShape shapeA, ConvexShape shapeB, System.Vector3 &direction, RigidTransform &localTransformB, System.Vector3 &extremePointA, System.Vector3 &extremePointB, System.Vector3 &extremePoint ) : void

Gets the extreme point of the minkowski difference of shapeA and shapeB in the local space of shapeA.

GetLocalMinkowskiExtremePointWithoutMargin ( ConvexShape shapeA, ConvexShape shapeB, System.Vector3 &direction, RigidTransform &localTransformB, System.Vector3 &extremePoint ) : void

Gets the extreme point of the minkowski difference of shapeA and shapeB in the local space of shapeA, without a margin.

GetLocalTransform ( RigidTransform &transformA, RigidTransform &transformB, RigidTransform &localTransformB ) : void

Gets the local transform of B in the space of A.

Описание методов

ExpandMinkowskiSum() публичный статический Метод

Computes the expansion of the minkowski sum due to margins in a given direction.
public static ExpandMinkowskiSum ( float marginA, float marginB, System.Vector3 &direction, System.Vector3 &contribution ) : void
marginA float First margin.
marginB float Second margin.
direction System.Vector3 Extreme point direction.
contribution System.Vector3 Margin contribution to the extreme point.
Результат void

ExpandMinkowskiSum() публичный статический Метод

Computes the expansion of the minkowski sum due to margins in a given direction.
public static ExpandMinkowskiSum ( float marginA, float marginB, System.Vector3 direction, System.Vector3 &toExpandA, System.Vector3 &toExpandB ) : void
marginA float First margin.
marginB float Second margin.
direction System.Vector3 Extreme point direction.
toExpandA System.Vector3 Margin contribution to the shapeA.
toExpandB System.Vector3 Margin contribution to the shapeB.
Результат void

GetLocalMinkowskiExtremePoint() публичный статический Метод

Gets the extreme point of the minkowski difference of shapeA and shapeB in the local space of shapeA.
public static GetLocalMinkowskiExtremePoint ( ConvexShape shapeA, ConvexShape shapeB, System.Vector3 &direction, RigidTransform &localTransformB, System.Vector3 &extremePoint ) : void
shapeA BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape First shape.
shapeB BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape Second shape.
direction System.Vector3 Extreme point direction in local space.
localTransformB BEPUutilities.RigidTransform Transform of shapeB in the local space of A.
extremePoint System.Vector3 The extreme point in the local space of A.
Результат void

GetLocalMinkowskiExtremePoint() публичный статический Метод

Gets the extreme point of the minkowski difference of shapeA and shapeB in the local space of shapeA.
public static GetLocalMinkowskiExtremePoint ( ConvexShape shapeA, ConvexShape shapeB, System.Vector3 &direction, RigidTransform &localTransformB, System.Vector3 &extremePointA, System.Vector3 &extremePoint ) : void
shapeA BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape First shape.
shapeB BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape Second shape.
direction System.Vector3 Extreme point direction in local space.
localTransformB BEPUutilities.RigidTransform Transform of shapeB in the local space of A.
extremePointA System.Vector3 The extreme point on shapeA.
extremePoint System.Vector3 The extreme point in the local space of A.
Результат void

GetLocalMinkowskiExtremePoint() публичный статический Метод

Gets the extreme point of the minkowski difference of shapeA and shapeB in the local space of shapeA.
public static GetLocalMinkowskiExtremePoint ( ConvexShape shapeA, ConvexShape shapeB, System.Vector3 &direction, RigidTransform &localTransformB, System.Vector3 &extremePointA, System.Vector3 &extremePointB, System.Vector3 &extremePoint ) : void
shapeA BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape First shape.
shapeB BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape Second shape.
direction System.Vector3 Extreme point direction in local space.
localTransformB BEPUutilities.RigidTransform Transform of shapeB in the local space of A.
extremePointA System.Vector3 The extreme point on shapeA.
extremePointB System.Vector3 The extreme point on shapeB.
extremePoint System.Vector3 The extreme point in the local space of A.
Результат void

GetLocalMinkowskiExtremePointWithoutMargin() публичный статический Метод

Gets the extreme point of the minkowski difference of shapeA and shapeB in the local space of shapeA, without a margin.
public static GetLocalMinkowskiExtremePointWithoutMargin ( ConvexShape shapeA, ConvexShape shapeB, System.Vector3 &direction, RigidTransform &localTransformB, System.Vector3 &extremePoint ) : void
shapeA BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape First shape.
shapeB BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape Second shape.
direction System.Vector3 Extreme point direction in local space.
localTransformB BEPUutilities.RigidTransform Transform of shapeB in the local space of A.
extremePoint System.Vector3 The extreme point in the local space of A.
Результат void

GetLocalTransform() публичный статический Метод

Gets the local transform of B in the space of A.
public static GetLocalTransform ( RigidTransform &transformA, RigidTransform &transformB, RigidTransform &localTransformB ) : void
transformA BEPUutilities.RigidTransform First transform.
transformB BEPUutilities.RigidTransform Second transform.
localTransformB BEPUutilities.RigidTransform Transform of B in the local space of A.
Результат void