SaturnRingLibrary 0.9.1
SGL wrapper
 
Loading...
Searching...
No Matches

◆ Intersects()

virtual bool SRL::Math::Types::Shape::Intersects ( const Plane & plane) const
pure virtual

Tests intersection with plane.

Each shape type defines its own intersection semantics. See derived class documentation for details.

Parameters
planePlane to test against
Returns
true if shape intersects plane according to shape-specific rules

Implemented in SRL::Math::Types::AABB, and SRL::Math::Types::Sphere.