Skip to content
Snippets Groups Projects
Commit e1cc0cff authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Add Impl::toGeometryTypeConstant helper

This helper maps a dynamic `GeometryType` to a compile time
`std::integral_constant<GeometryType::Id,...>`. Thus is functionally
replaces the `IfGeometryType` helper. In contrast to the latter it
does not rely on the undocumented implementation of `GeometryType::Id`
but on `LocalGeometryTypeIndex` and the generic `Hybrid::switchCase`
helper. Furthermore the new helper uses a lambda-friendly callback
interface.
parent ea31bc21
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment