Contains the information to enforce a pair of geometries are separated by a plane.
The conditions are that certain rational functions should be always positive.
#include <drake/geometry/optimization/cspace_free_structs.h>
Public Member Functions | |
PlaneSeparatesGeometries (std::vector< symbolic::RationalFunction > m_positive_side_rationals, std::vector< symbolic::RationalFunction > m_negative_side_rationals, int m_plane_index) | |
PlaneSeparatesGeometries (const PlaneSeparatesGeometries &)=default | |
~PlaneSeparatesGeometries () | |
const std::vector< symbolic::RationalFunction > & | rationals (PlaneSide plane_side) const |
Public Attributes | |
const std::vector< symbolic::RationalFunction > | positive_side_rationals |
const std::vector< symbolic::RationalFunction > | negative_side_rationals |
const int | plane_index |
PlaneSeparatesGeometries | ( | std::vector< symbolic::RationalFunction > | m_positive_side_rationals, |
std::vector< symbolic::RationalFunction > | m_negative_side_rationals, | ||
int | m_plane_index | ||
) |
|
default |
const std::vector<symbolic::RationalFunction>& rationals | ( | PlaneSide | plane_side | ) | const |
const std::vector<symbolic::RationalFunction> negative_side_rationals |
const int plane_index |
const std::vector<symbolic::RationalFunction> positive_side_rationals |