File: lib_mrpt_math_lwgeom.md

package info (click to toggle)
mrpt 1%3A2.5.8%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 87,448 kB
  • sloc: cpp: 551,662; ansic: 38,702; xml: 3,914; python: 2,547; sh: 404; makefile: 237
file content (18 lines) | stat: -rw-r--r-- 851 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
\defgroup geometry_grp Lightweight SE(2)/SE(3) types, geometry functions.
\ingroup mrpt_math_grp

Lightweight SE(2)/SE(3) data types, geometry functions, etc.

The "lightweight" adjective is used here in contrast to classes derived
from mrpt::poses::CPoseOrPoint. 
The "lightweight" alternative types here, defined in mrpt::math, are simple
C++ structures without special memory alignment requirements and without 
a deep hiearchy of class inheritance, as the "heavier" classes in mrpt::poses have.
In turn, the latter ones offer:
 - Serialization (see: \ref mrpt_serialization_grp)
 - Buffered trigronometric calculations (e.g. mrpt::poses::CPose3D), hence they
will be preferred to lightweight alternaives (e.g. mrpt::math::TPose3D) if the
same pose is to be used over and over again to transform multiple points/poses.

See list of classes below.