14#include <lagrange/cast.h>
15#include <lagrange/scene/SimpleScene.h>
17namespace lagrange::scene {
42SimpleScene<ToScalar, ToIndex, Dimension>
cast(
43 const scene::SimpleScene<FromScalar, FromIndex, Dimension>& source_scene,
44 const AttributeFilter& convertible_attributes = {},
45 std::vector<std::string>* converted_attributes_names =
nullptr);
SurfaceMesh< ToScalar, ToIndex > cast(const SurfaceMesh< FromScalar, FromIndex > &source_mesh, const AttributeFilter &convertible_attributes={}, std::vector< std::string > *converted_attributes_names=nullptr)
Cast a mesh to a mesh of different scalar and/or index type.