C# Class BEPUutilities2.BoundingBox

Provides XNA-like axis-aligned bounding box functionality.
Afficher le fichier Open project: RossNordby/scratchpad Class Usage Examples

Méthodes publiques

Свойство Type Description
Max Vector3
Min Vector3

Méthodes publiques

Méthode Description
CreateFromPoints ( IList points ) : BoundingBox

Creates the smallest possible bounding box that contains a list of points.

ToString ( ) : string

Creates a string representation of the bounding box.

Private Methods

Méthode Description
BoundingBox ( Vector3 min, Vector3 max ) : System
ComputeVolume ( BoundingBox &box ) : float
Contains ( BoundingBox &boundingBox ) : ContainmentType
CreateFromSphere ( BoundingSphere &boundingSphere, BoundingBox &boundingBox ) : void
CreateMerged ( BoundingBox &a, BoundingBox &b, BoundingBox &merged ) : void
Intersects ( BoundingBox &a, BoundingBox &b ) : bool
Intersects ( BoundingSphere &boundingSphere ) : bool

Method Details

CreateFromPoints() public static méthode

Creates the smallest possible bounding box that contains a list of points.
public static CreateFromPoints ( IList points ) : BoundingBox
points IList Points to enclose with a bounding box.
Résultat BoundingBox

ToString() public méthode

Creates a string representation of the bounding box.
public ToString ( ) : string
Résultat string

Property Details

Max public_oe property

Location with the highest X, Y, and Z coordinates in the axis-aligned bounding box.
public Vector3 Max
Résultat Vector3

Min public_oe property

Location with the lowest X, Y, and Z coordinates in the axis-aligned bounding box.
public Vector3 Min
Résultat Vector3