gtsam
Loading...
Searching...
No Matches
gtsam::EdgeKey Class Reference

API

Key key () const
 Cast to Key.
 operator Key () const
 Cast to Key.
std::uint32_t i () const
 Retrieve high 32 bits.
std::uint32_t j () const
 Retrieve low 32 bits.
 operator std::string () const
 Create a string from the key.
GTSAM_EXPORT std::ostream & operator<< (std::ostream &os, const EdgeKey &key)
 Output stream operator.

Public Member Functions

Constructors
 EdgeKey ()
 Default constructor.
 EdgeKey (std::uint32_t i, std::uint32_t j)
 Constructor.
 EdgeKey (Key key)
Testable
void print (const std::string &s="") const
 Prints the EdgeKey with an optional prefix string.
bool equals (const EdgeKey &expected, double tol=0.0) const
 Checks if this EdgeKey is equal to another, tolerance is ignored.

Protected Attributes

std::uint32_t i_
 Upper 32 bits.
std::uint32_t j_
 Lower 32 bits.

The documentation for this class was generated from the following files:
  • /tmp/gtsam-4.3.0-doxygen.rsXPUS/source/gtsam/inference/EdgeKey.h
  • /tmp/gtsam-4.3.0-doxygen.rsXPUS/source/gtsam/inference/EdgeKey.cpp