9 #include <gtsam_unstable/dllexport.h> 31 SimWall2D(
double ax,
double ay,
double bx,
double by)
32 : a_(ax, ay), b_(bx, by) {}
35 void print(
const std::string&
s=
"")
const;
61 return intersects(wall, &pt);
94 const std::vector<SimWall2D> walls,
Sampler& angle_drift,
void print(const Matrix &A, const string &s, ostream &stream)
SimWall2D scale(double s) const
std::pair< Pose2, bool > moveWithBounce(const Pose2 &cur_pose, double step_size, const std::vector< SimWall2D > walls, Sampler &angle_drift, Sampler &reflect_noise, const Rot2 &bias)
std::vector< SimWall2D > SimWall2DVector
static const Point3 pt(1.0, 2.0, 3.0)
SimWall2D(double ax, double ay, double bx, double by)
SimWall2D(const Point2 &a, const Point2 &b)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
sampling from a NoiseModel
bool intersects(const SimWall2D &wall, Point2 &pt) const
double distance2(const Point2 &p, const Point2 &q, OptionalJacobian< 1, 2 > H1, OptionalJacobian< 1, 2 > H2)
distance between two points