C# 클래스 BEPUphysics.CollisionTests.CollisionAlgorithms.GJK.SimpleSimplex

GJK simplex supporting boolean intersection tests.
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
A Microsoft.Xna.Framework.Vector3
B Microsoft.Xna.Framework.Vector3
C Microsoft.Xna.Framework.Vector3
D Microsoft.Xna.Framework.Vector3
State SimplexState

공개 메소드들

메소드 설명
AddNewSimplexPoint ( Microsoft.Xna.Framework.Vector3 &point ) : void

Adds a new point to the simplex.

GetErrorTolerance ( ) : float

Gets the error tolerance of the simplex.

GetPointClosestToOrigin ( Microsoft.Xna.Framework.Vector3 &point ) : bool

Gets the point on the simplex closest to the origin.

GetPointOnSegmentClosestToOrigin ( Microsoft.Xna.Framework.Vector3 &point ) : void

Gets the closest point on the segment to the origin.

GetPointOnTetrahedronClosestToOrigin ( Microsoft.Xna.Framework.Vector3 &point ) : bool

Gets the closest point on the tetrahedron to the origin.

GetPointOnTriangleClosestToOrigin ( Microsoft.Xna.Framework.Vector3 &point ) : void

Gets the closest point on the triangle to the origin.

비공개 메소드들

메소드 설명
TryTetrahedronTriangle ( Microsoft.Xna.Framework.Vector3 &A, Microsoft.Xna.Framework.Vector3 &B, Microsoft.Xna.Framework.Vector3 &C, Microsoft.Xna.Framework.Vector3 &otherPoint, SimpleSimplex &simplex, Microsoft.Xna.Framework.Vector3 &point ) : bool

메소드 상세

AddNewSimplexPoint() 공개 메소드

Adds a new point to the simplex.
public AddNewSimplexPoint ( Microsoft.Xna.Framework.Vector3 &point ) : void
point Microsoft.Xna.Framework.Vector3 Point to add.
리턴 void

GetErrorTolerance() 공개 메소드

Gets the error tolerance of the simplex.
public GetErrorTolerance ( ) : float
리턴 float

GetPointClosestToOrigin() 공개 메소드

Gets the point on the simplex closest to the origin.
public GetPointClosestToOrigin ( Microsoft.Xna.Framework.Vector3 &point ) : bool
point Microsoft.Xna.Framework.Vector3 Closest point to the origin.
리턴 bool

GetPointOnSegmentClosestToOrigin() 공개 메소드

Gets the closest point on the segment to the origin.
public GetPointOnSegmentClosestToOrigin ( Microsoft.Xna.Framework.Vector3 &point ) : void
point Microsoft.Xna.Framework.Vector3 Closest point.
리턴 void

GetPointOnTetrahedronClosestToOrigin() 공개 메소드

Gets the closest point on the tetrahedron to the origin.
public GetPointOnTetrahedronClosestToOrigin ( Microsoft.Xna.Framework.Vector3 &point ) : bool
point Microsoft.Xna.Framework.Vector3 Closest point.
리턴 bool

GetPointOnTriangleClosestToOrigin() 공개 메소드

Gets the closest point on the triangle to the origin.
public GetPointOnTriangleClosestToOrigin ( Microsoft.Xna.Framework.Vector3 &point ) : void
point Microsoft.Xna.Framework.Vector3 Closest point.
리턴 void

프로퍼티 상세

A 공개적으로 프로퍼티

First vertex of the simplex.
public Vector3,Microsoft.Xna.Framework A
리턴 Microsoft.Xna.Framework.Vector3

B 공개적으로 프로퍼티

Second vertex of the simplex.
public Vector3,Microsoft.Xna.Framework B
리턴 Microsoft.Xna.Framework.Vector3

C 공개적으로 프로퍼티

Third vertex of the simplex.
public Vector3,Microsoft.Xna.Framework C
리턴 Microsoft.Xna.Framework.Vector3

D 공개적으로 프로퍼티

Fourth vertex of the simplex.
public Vector3,Microsoft.Xna.Framework D
리턴 Microsoft.Xna.Framework.Vector3

State 공개적으로 프로퍼티

Current state of the simplex.
public SimplexState State
리턴 SimplexState