Parasol Planning Library (PPL)
|
#include "Geometry/Boundaries/BoundaryIntersection.h"
#include "Geometry/Boundaries/Boundary.h"
#include "Utilities/PMPLExceptions.h"
Functions | |
std::vector< double > | RejectionSampleIntersection (const Boundary *const _b1, const Boundary *const _b2, const size_t _maxAttempts, size_t *const _attempts) noexcept |
|
noexcept |
Use rejection sampling to find a point on the intersection of two boundaries.
_b1 | The first boundary. |
_b2 | The second boundary. |
_maxAttempts | The maximum number of attempts. |
_attempts | Optionally returns the number of attempts made. |