C# Class BEPUphysics.DataStructures.MeshBoundingBoxTreeData

Superclass of the data used to create triangle mesh bounding box trees.
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Méthode Description
GetBoundingBox ( int triangleIndex, Microsoft.Xna.Framework.BoundingBox &boundingBox ) : void

Gets the bounding box of an element in the data.

GetTriangle ( int triangleIndex, Microsoft.Xna.Framework.Vector3 &v1, Microsoft.Xna.Framework.Vector3 &v2, Microsoft.Xna.Framework.Vector3 &v3 ) : void

Gets the triangle vertex positions at a given index.

GetVertexPosition ( int i, Microsoft.Xna.Framework.Vector3 &vertex ) : void

Gets the position of a vertex in the data.

Method Details

GetBoundingBox() public méthode

Gets the bounding box of an element in the data.
public GetBoundingBox ( int triangleIndex, Microsoft.Xna.Framework.BoundingBox &boundingBox ) : void
triangleIndex int Index of the triangle in the data.
boundingBox Microsoft.Xna.Framework.BoundingBox Bounding box of the triangle.
Résultat void

GetTriangle() public abstract méthode

Gets the triangle vertex positions at a given index.
public abstract GetTriangle ( int triangleIndex, Microsoft.Xna.Framework.Vector3 &v1, Microsoft.Xna.Framework.Vector3 &v2, Microsoft.Xna.Framework.Vector3 &v3 ) : void
triangleIndex int First index of a triangle's vertices in the index buffer.
v1 Microsoft.Xna.Framework.Vector3 First vertex of the triangle.
v2 Microsoft.Xna.Framework.Vector3 Second vertex of the triangle.
v3 Microsoft.Xna.Framework.Vector3 Third vertex of the triangle.
Résultat void

GetVertexPosition() public abstract méthode

Gets the position of a vertex in the data.
public abstract GetVertexPosition ( int i, Microsoft.Xna.Framework.Vector3 &vertex ) : void
i int Index of the vertex.
vertex Microsoft.Xna.Framework.Vector3 Position of the vertex.
Résultat void