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;
54 bool intersects(
const SimWall2D& wall, boost::optional<Point2&>
pt=boost::none)
const;
86 const std::vector<SimWall2D> walls,
Sampler& angle_drift,
void print(const Matrix &A, const string &s, ostream &stream)
double distance2(const Point2 &p, const Point2 &q, OptionalJacobian< 1, 2 > H1, OptionalJacobian< 1, 2 > H2)
distance between two points
std::vector< SimWall2D > SimWall2DVector
static const Point3 pt(1.0, 2.0, 3.0)
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)
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
SimWall2D scale(double s) const