File: README.md

package info (click to toggle)
sight 25.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 43,252 kB
  • sloc: cpp: 310,629; xml: 17,622; ansic: 9,960; python: 1,379; sh: 144; makefile: 33
file content (24 lines) | stat: -rw-r--r-- 645 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# sight::geometry::eigen

Contains functions to handle type conversion between `Eigen` types and `sight::data` types.

## Namespaces

- **helper**
  `sight::geometry::eigen::helper` contains a set of utility functions:

  - `Eigen` 4x4 matrices to `data::matrix4`.
  - `Eigen` 4x4 matrix to `std::pair< Eigen::Vector3d, Eigen::Vector3d>`, a rotation-translation decomposition.
  - `std::array` to `Eigen` 4x4 matrix.
  - `std::array` to `std::pair< Eigen::Vector3d, Eigen::Vector3d>`.
  - `data::matrix4::sptr` to `Eigen` 4x4 matrix.
 

## How to use it

### CMake

```cmake
target_link_libraries(my_target <PUBLIC|PRIVATE> geometry_eigen)
```