Point Containment Test Functions
Collection of functions testing for a point's containment within various objects. More...
Functions | |
bool | playrho::d2::TestPoint (const DistanceProxy &proxy, Length2 point) noexcept |
Tests a point for containment in the given distance proxy. More... | |
bool | playrho::d2::TestPoint (const Shape &shape, Length2 point) noexcept |
Test a point for containment in the given shape. More... | |
bool | playrho::d2::TestPoint (const Fixture &f, Length2 p) noexcept |
Tests a point for containment in a fixture. More... | |
bool | TestPoint (const DistanceProxy &proxy, Length2 point) noexcept |
Tests a point for containment in the given distance proxy. More... | |
bool | TestPoint (const Shape &shape, Length2 point) noexcept |
Test a point for containment in the given shape. More... | |
bool | TestPoint (const Fixture &f, Length2 p) noexcept |
Tests a point for containment in a fixture. More... | |
Detailed Description
Collection of functions testing for a point's containment within various objects.
Function Documentation
◆ TestPoint() [1/6]
|
noexcept |
Tests a point for containment in the given distance proxy.
- Parameters
-
proxy Distance proxy to check if point is within. point Point in local coordinates.
- Returns
true
if point is contained in the proxy,false
otherwise.
Definition at line 114 of file DistanceProxy.cpp.
◆ TestPoint() [2/6]
◆ TestPoint() [3/6]
Tests a point for containment in a fixture.
- Parameters
-
f Fixture to use for test. p Point in world coordinates.
Definition at line 80 of file Fixture.cpp.
◆ TestPoint() [4/6]
|
related |
Tests a point for containment in the given distance proxy.
- Parameters
-
proxy Distance proxy to check if point is within. point Point in local coordinates.
- Returns
true
if point is contained in the proxy,false
otherwise.
Definition at line 114 of file DistanceProxy.cpp.
◆ TestPoint() [5/6]
◆ TestPoint() [6/6]
Tests a point for containment in a fixture.
- Parameters
-
f Fixture to use for test. p Point in world coordinates.
Definition at line 80 of file Fixture.cpp.