Main Page | Class Hierarchy | Class List | Class Members

SC::Math::PlaneBoundedVolume Class Reference

List of all members.

Public Member Functions

 PlaneBoundedVolume ()
 PlaneBoundedVolume (PlaneSide outside)
bool Intersects (AxisAlignedBox box)
bool Intersects (Sphere sphere)

Public Attributes

PlaneList planes = new PlaneList()
PlaneSide outside

Detailed Description

Represents a convex volume bounded by planes.


Constructor & Destructor Documentation

SC::Math::PlaneBoundedVolume::PlaneBoundedVolume  )  [inline]
 

Default constructor.

SC::Math::PlaneBoundedVolume::PlaneBoundedVolume PlaneSide  outside  )  [inline]
 

Constructor. Side of the plane to be considered 'outside'.


Member Function Documentation

bool SC::Math::PlaneBoundedVolume::Intersects Sphere  sphere  )  [inline]
 

Intersection test with <see cref="Sphere"/>. Sphere to test. True if the sphere intersects this volume, and false otherwise.

bool SC::Math::PlaneBoundedVolume::Intersects AxisAlignedBox  box  )  [inline]
 

Intersection test with an <see cref="AxisAlignedBox"/>. May return false positives but will never miss an intersection. Box to test. True if interesecting, false otherwise.


Member Data Documentation

PlaneSide SC::Math::PlaneBoundedVolume::outside
 

Side of the plane to be considered 'outside'.

PlaneList SC::Math::PlaneBoundedVolume::planes = new PlaneList()
 

Publicly accessible plane list, you can modify this direct.


The documentation for this class was generated from the following file:
Generated on Sat Jan 15 23:59:00 2005 for StreamCtrl by doxygen 1.3.6