C# Class Axiom.Math.PlaneBoundedVolume

Represents a convex volume bounded by planes.
Afficher le fichier Open project: WolfgangSt/axiom Class Usage Examples

Méthodes publiques

Свойство Type Description
outside PlaneSide
planes PlaneList

Méthodes publiques

Méthode 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 méthode

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.
Résultat bool

Intersects() public méthode

Intersection test with Sphere.
public Intersects ( Sphere sphere ) : bool
sphere Sphere Sphere to test.
Résultat bool

PlaneBoundedVolume() public méthode

Default constructor.
public PlaneBoundedVolume ( ) : System
Résultat System

PlaneBoundedVolume() public méthode

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

Property Details

outside public_oe property

Side of the plane to be considered 'outside'.
public PlaneSide outside
Résultat PlaneSide

planes public_oe property

Publicly accessible plane list, you can modify this direct.
public PlaneList planes
Résultat PlaneList