GTSAM  4.0.2
C++ library for smoothing and mapping (SAM)
Classes | Namespaces | Typedefs | Functions
Point3.h File Reference

3D Point More...

#include <gtsam/config.h>
#include <gtsam/base/VectorSpace.h>
#include <gtsam/base/Vector.h>
#include <gtsam/dllexport.h>
#include <gtsam/base/VectorSerialization.h>
#include <numeric>
Include dependency graph for Point3.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gtsam::Range< A1, A2 >
 
struct  gtsam::Range< Point3, Point3 >
 

Namespaces

 gtsam
 

Typedefs

typedef Vector3 gtsam::Point3
 
typedef std::vector< Point3, Eigen::aligned_allocator< Point3 > > gtsam::Point3Vector
 
using gtsam::Point3Pair = std::pair< Point3, Point3 >
 
using gtsam::Point3Pairs = std::vector< Point3Pair >
 

Functions

GTSAM_EXPORT std::ostream & gtsam::operator<< (std::ostream &os, const gtsam::Point3Pair &p)
 
GTSAM_EXPORT double gtsam::distance3 (const Point3 &p1, const Point3 &q, OptionalJacobian< 1, 3 > H1={}, OptionalJacobian< 1, 3 > H2={})
 distance between two points
 
GTSAM_EXPORT double gtsam::norm3 (const Point3 &p, OptionalJacobian< 1, 3 > H={})
 Distance of the point from the origin, with Jacobian.
 
GTSAM_EXPORT Point3 gtsam::normalize (const Point3 &p, OptionalJacobian< 3, 3 > H={})
 normalize, with optional Jacobian
 
GTSAM_EXPORT Point3 gtsam::cross (const Point3 &p, const Point3 &q, OptionalJacobian< 3, 3 > H_p={}, OptionalJacobian< 3, 3 > H_q={})
 cross product More...
 
GTSAM_EXPORT double gtsam::dot (const Point3 &p, const Point3 &q, OptionalJacobian< 1, 3 > H_p={}, OptionalJacobian< 1, 3 > H_q={})
 dot product
 
template<class CONTAINER >
Point3 gtsam::mean (const CONTAINER &points)
 mean
 
GTSAM_EXPORT Point3Pair gtsam::means (const std::vector< Point3Pair > &abPointPairs)
 Calculate the two means of a set of Point3 pairs.
 

Detailed Description

3D Point

Author
Alireza Fathi
Christian Potthast
Frank Dellaert