This group includes various structures and tools used in geometry as well as various supporting classes and utilities.
There are quite a few useful tools also in eigen's geometry module. You can get access to these via the ecl_linear_algebra module.
Include the following at the top of any translation unit which requires this library:
#include <ecl/geometry.hpp> // Angles using ecl::Angle; using ecl::wrap_angle; using ecl::degrees_to_radians; using ecl::radians_to_degrees; // Other Objects using ecl::CartesianPoint; using ecl::PascalsTriangle; // Functions that act on functions using ecl::Minimum; using ecl::Maximum; // Functions using ecl::Polynomial; // Also has some typedefs, LinearFunction, CubicPolynomial, QuadraticPoly... using ecl::TensionFunction; // Splines using ecl::SmoothLinearSpline; using ecl::CubicSpline; using ecl::TensionSpline; // Transforms using ecl::Pose2D;
You will also need to link to -lecl_geometry.
Refer to the class api/guide for each component.