C# 클래스 BEPUutilities2.BoundingBox

Provides XNA-like axis-aligned bounding box functionality.
파일 보기 프로젝트 열기: RossNordby/scratchpad 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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