C# 클래스 Box2DX.Collision.Collision

파일 보기 프로젝트 열기: KrugerHeavyIndustries/box2d-unity

공개 메소드들

메소드 설명
CollideCircles ( Manifold &manifold, CircleShape circle1, Box2DX.Common.Transform xf1, CircleShape circle2, Box2DX.Common.Transform xf2 ) : void
CollideEdgeAndCircle ( Manifold &manifold, EdgeShape edge, Box2DX.Common.Transform transformA, CircleShape circle, Box2DX.Common.Transform transformB ) : void
CollidePolyAndEdge ( Manifold &manifold, PolygonShape polygon, Box2DX.Common.Transform TransformA, EdgeShape edge, Box2DX.Common.Transform TransformB ) : void
CollidePolygonAndCircle ( Manifold &manifold, PolygonShape polygon, Box2DX.Common.Transform xf1, CircleShape circle, Box2DX.Common.Transform xf2 ) : void
CollidePolygons ( Manifold &manifold, PolygonShape polyA, Box2DX.Common.Transform xfA, PolygonShape polyB, Box2DX.Common.Transform xfB ) : void
Distance ( DistanceOutput &output, SimplexCache &cache, DistanceInput &input, Shape shapeA, Shape shapeB ) : void
EdgeSeparation ( PolygonShape poly1, Box2DX.Common.Transform xf1, int edge1, PolygonShape poly2, Box2DX.Common.Transform xf2 ) : float

Find the separation between poly1 and poly2 for a give edge normal on poly1.

FindIncidentEdge ( Box2DX.Collision.ClipVertex &c, PolygonShape poly1, Box2DX.Common.Transform xf1, int edge1, PolygonShape poly2, Box2DX.Common.Transform xf2 ) : void
FindMaxSeparation ( int &edgeIndex, PolygonShape poly1, Box2DX.Common.Transform xf1, PolygonShape poly2, Box2DX.Common.Transform xf2 ) : float

Find the max separation between poly1 and poly2 using edge normals from poly1.

메소드 상세

CollideCircles() 공개 정적인 메소드

public static CollideCircles ( Manifold &manifold, CircleShape circle1, Box2DX.Common.Transform xf1, CircleShape circle2, Box2DX.Common.Transform xf2 ) : void
manifold Manifold
circle1 CircleShape
xf1 Box2DX.Common.Transform
circle2 CircleShape
xf2 Box2DX.Common.Transform
리턴 void

CollideEdgeAndCircle() 공개 정적인 메소드

public static CollideEdgeAndCircle ( Manifold &manifold, EdgeShape edge, Box2DX.Common.Transform transformA, CircleShape circle, Box2DX.Common.Transform transformB ) : void
manifold Manifold
edge EdgeShape
transformA Box2DX.Common.Transform
circle CircleShape
transformB Box2DX.Common.Transform
리턴 void

CollidePolyAndEdge() 공개 정적인 메소드

public static CollidePolyAndEdge ( Manifold &manifold, PolygonShape polygon, Box2DX.Common.Transform TransformA, EdgeShape edge, Box2DX.Common.Transform TransformB ) : void
manifold Manifold
polygon PolygonShape
TransformA Box2DX.Common.Transform
edge EdgeShape
TransformB Box2DX.Common.Transform
리턴 void

CollidePolygonAndCircle() 공개 정적인 메소드

public static CollidePolygonAndCircle ( Manifold &manifold, PolygonShape polygon, Box2DX.Common.Transform xf1, CircleShape circle, Box2DX.Common.Transform xf2 ) : void
manifold Manifold
polygon PolygonShape
xf1 Box2DX.Common.Transform
circle CircleShape
xf2 Box2DX.Common.Transform
리턴 void

CollidePolygons() 공개 정적인 메소드

public static CollidePolygons ( Manifold &manifold, PolygonShape polyA, Box2DX.Common.Transform xfA, PolygonShape polyB, Box2DX.Common.Transform xfB ) : void
manifold Manifold
polyA PolygonShape
xfA Box2DX.Common.Transform
polyB PolygonShape
xfB Box2DX.Common.Transform
리턴 void

Distance() 공개 정적인 메소드

public static Distance ( DistanceOutput &output, SimplexCache &cache, DistanceInput &input, Shape shapeA, Shape shapeB ) : void
output DistanceOutput
cache SimplexCache
input DistanceInput
shapeA Shape
shapeB Shape
리턴 void

EdgeSeparation() 공개 정적인 메소드

Find the separation between poly1 and poly2 for a give edge normal on poly1.
public static EdgeSeparation ( PolygonShape poly1, Box2DX.Common.Transform xf1, int edge1, PolygonShape poly2, Box2DX.Common.Transform xf2 ) : float
poly1 PolygonShape
xf1 Box2DX.Common.Transform
edge1 int
poly2 PolygonShape
xf2 Box2DX.Common.Transform
리턴 float

FindIncidentEdge() 공개 정적인 메소드

public static FindIncidentEdge ( Box2DX.Collision.ClipVertex &c, PolygonShape poly1, Box2DX.Common.Transform xf1, int edge1, PolygonShape poly2, Box2DX.Common.Transform xf2 ) : void
c Box2DX.Collision.ClipVertex
poly1 PolygonShape
xf1 Box2DX.Common.Transform
edge1 int
poly2 PolygonShape
xf2 Box2DX.Common.Transform
리턴 void

FindMaxSeparation() 공개 정적인 메소드

Find the max separation between poly1 and poly2 using edge normals from poly1.
public static FindMaxSeparation ( int &edgeIndex, PolygonShape poly1, Box2DX.Common.Transform xf1, PolygonShape poly2, Box2DX.Common.Transform xf2 ) : float
edgeIndex int
poly1 PolygonShape
xf1 Box2DX.Common.Transform
poly2 PolygonShape
xf2 Box2DX.Common.Transform
리턴 float