Drake
Drake C++ Documentation
PlaneSeparatesGeometries Struct Reference

Detailed Description

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::RationalFunctionpositive_side_rationals
 
const std::vector< symbolic::RationalFunctionnegative_side_rationals
 
const int plane_index
 

Constructor & Destructor Documentation

◆ PlaneSeparatesGeometries() [1/2]

PlaneSeparatesGeometries ( std::vector< symbolic::RationalFunction m_positive_side_rationals,
std::vector< symbolic::RationalFunction m_negative_side_rationals,
int  m_plane_index 
)

◆ PlaneSeparatesGeometries() [2/2]

◆ ~PlaneSeparatesGeometries()

Member Function Documentation

◆ rationals()

const std::vector<symbolic::RationalFunction>& rationals ( PlaneSide  plane_side) const

Member Data Documentation

◆ negative_side_rationals

const std::vector<symbolic::RationalFunction> negative_side_rationals

◆ plane_index

const int plane_index

◆ positive_side_rationals

const std::vector<symbolic::RationalFunction> positive_side_rationals

The documentation for this struct was generated from the following file: