C# 클래스 BEPUphysics.CollisionTests.CollisionAlgorithms.MinkowskiToolbox

Helper class that supports other systems using minkowski space operations.
파일 보기 프로젝트 열기: Indiefreaks/igf

공개 메소드들

메소드 설명
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