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

◆ Contains()

virtual bool SRL::Math::Types::Shape::Contains ( const Vector3D & point) const
pure virtual

Tests if point is inside shape.

Each shape defines its own containment rules. See derived class documentation for details.

Parameters
pointPoint to test
Returns
true if point is inside shape according to shape-specific rules

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