C# Class Axiom.Math.PlaneBoundedVolume

Represents a convex volume bounded by planes.
Show file Open project: WolfgangSt/axiom Class Usage Examples

Public Properties

Property Type Description
outside PlaneSide
planes PlaneList

Public Methods

Method Description
Intersects ( AxisAlignedBox box ) : bool

Intersection test with an AxisAlignedBox.

May return false positives but will never miss an intersection.

Intersects ( Sphere sphere ) : bool

Intersection test with Sphere.

PlaneBoundedVolume ( ) : System

Default constructor.

PlaneBoundedVolume ( PlaneSide outside ) : System

Constructor.

Method Details

Intersects() public method

Intersection test with an AxisAlignedBox.
May return false positives but will never miss an intersection.
public Intersects ( AxisAlignedBox box ) : bool
box AxisAlignedBox Box to test.
return bool

Intersects() public method

Intersection test with Sphere.
public Intersects ( Sphere sphere ) : bool
sphere Sphere Sphere to test.
return bool

PlaneBoundedVolume() public method

Default constructor.
public PlaneBoundedVolume ( ) : System
return System

PlaneBoundedVolume() public method

Constructor.
public PlaneBoundedVolume ( PlaneSide outside ) : System
outside PlaneSide Side of the plane to be considered 'outside'.
return System

Property Details

outside public property

Side of the plane to be considered 'outside'.
public PlaneSide outside
return PlaneSide

planes public property

Publicly accessible plane list, you can modify this direct.
public PlaneList planes
return PlaneList