gtsam  4.0.0
gtsam
Point2.h File Reference

2D Point More...

Go to the source code of this file.

Classes

class  gtsam::Point2
 
struct  gtsam::traits< Point2 >
 

Namespaces

 gtsam
 Global functions in a separate testing namespace.
 

Typedefs

typedef std::pair< Point2, Point2 > gtsam::Point2Pair
 Calculate pose between a vector of 2D point correspondences (p,q) where q = Pose2::transformFrom(p) = t + R*p.
 
typedef std::vector< Point2, Eigen::aligned_allocator< Point2 > > gtsam::Point2Vector
 

Functions

double gtsam::norm2 (const Point2 &p, OptionalJacobian< 1, 2 > H=boost::none)
 Distance of the point from the origin, with Jacobian.
 
double gtsam::distance2 (const Point2 &p1, const Point2 &q, OptionalJacobian< 1, 2 > H1=boost::none, OptionalJacobian< 1, 2 > H2=boost::none)
 distance between two points
 
ostream & gtsam::operator<< (ostream &os, const gtsam::Point2Pair &p)
 
Point2 gtsam::operator * (double s, const Point2 &p)
 multiply with scalar
 
boost::optional< Point2 > gtsam::circleCircleIntersection (double R_d, double r_d, double tol)
 
list< Point2 > gtsam::circleCircleIntersection (Point2 c1, Point2 c2, boost::optional< Point2 > fh)
 
list< Point2 > gtsam::circleCircleIntersection (Point2 c1, double r1, Point2 c2, double r2, double tol=1e-9)
 Intersect 2 circles. More...
 

Detailed Description

2D Point

Author
Frank Dellaert