C# Класс BEPUutilities2.BoundingBox

Provides XNA-like axis-aligned bounding box functionality.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Max Vector3
Min Vector3

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

CreateFromPoints() публичный статический Метод

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.
Результат BoundingBox

ToString() публичный Метод

Creates a string representation of the bounding box.
public ToString ( ) : string
Результат string

Описание свойств

Max публичное свойство

Location with the highest X, Y, and Z coordinates in the axis-aligned bounding box.
public Vector3 Max
Результат Vector3

Min публичное свойство

Location with the lowest X, Y, and Z coordinates in the axis-aligned bounding box.
public Vector3 Min
Результат Vector3