#include <Union.hpp>
◆ add()
void Shapes::Union::add |
( |
std::shared_ptr< Shapes::Shape > const & |
shape | ) |
|
|
inline |
◆ calculate_dist()
Calculate the minimum of all distances and the corresponding distance vector for a given position and any contained shape.
- Parameters
-
[in] | pos | Position from which to get the nearest distance. |
[out] | dist | Nearest distance to the shape. Negative if inside the shape, zero if in direct contact with the shape. |
[out] | vec | Vector to nearest point on the shape. |
Implements Shapes::Shape.
Definition at line 56 of file shapes/include/shapes/Union.hpp.
◆ contains()
bool Shapes::Union::contains |
( |
std::shared_ptr< Shapes::Shape > const & |
shape | ) |
const |
|
inlinenoexcept |
◆ is_inside()
◆ remove()
void Shapes::Union::remove |
( |
std::shared_ptr< Shapes::Shape > const & |
shape | ) |
|
|
inline |
The documentation for this class was generated from the following file: