se2ez
ompl::base::WrapperGoalRegion Class Reference

#include <goals.h>

Inheritance diagram for ompl::base::WrapperGoalRegion:
[legend]

Public Member Functions

 WrapperGoalRegion (const SpaceInformationPtr &si, const std::shared_ptr< GoalRegion > &goal)
 
bool isSatisfied (const State *state) const override
 
bool isSatisfied (const State *state, double *distance) const override
 
double distanceGoal (const State *state) const override
 
void print (std::ostream &out=std::cout) const override
 
void setThreshold (double threshold)
 
double getThreshold () const
 

Private Attributes

const std::shared_ptr< GoalRegion > goal_
 

Detailed Description

Definition at line 15 of file goals.h.

Constructor & Destructor Documentation

◆ WrapperGoalRegion()

WrapperGoalRegion::WrapperGoalRegion ( const SpaceInformationPtr &  si,
const std::shared_ptr< GoalRegion > &  goal 
)

Definition at line 12 of file goals.cpp.

Member Function Documentation

◆ distanceGoal()

double WrapperGoalRegion::distanceGoal ( const State *  state) const
override

Definition at line 27 of file goals.cpp.

◆ getThreshold()

double WrapperGoalRegion::getThreshold ( ) const

Definition at line 42 of file goals.cpp.

◆ isSatisfied() [1/2]

bool WrapperGoalRegion::isSatisfied ( const State *  state) const
override

Definition at line 17 of file goals.cpp.

◆ isSatisfied() [2/2]

bool WrapperGoalRegion::isSatisfied ( const State *  state,
double *  distance 
) const
override

Definition at line 22 of file goals.cpp.

◆ print()

void WrapperGoalRegion::print ( std::ostream out = std::cout) const
override

Definition at line 32 of file goals.cpp.

◆ setThreshold()

void WrapperGoalRegion::setThreshold ( double  threshold)

Definition at line 37 of file goals.cpp.

Member Data Documentation

◆ goal_

const std::shared_ptr<GoalRegion> ompl::base::WrapperGoalRegion::goal_
private

Definition at line 28 of file goals.h.


The documentation for this class was generated from the following files: