14#include <lagrange/SurfaceMesh.h>
15#include <lagrange/types/TransformOptions.h>
17#include <Eigen/Geometry>
49template <
typename Scalar,
typename Index,
int Dimension>
52 const Eigen::Transform<Scalar, Dimension, Eigen::Affine>& transform,
53 const TransformOptions& options = {});
76template <
typename Scalar,
typename Index,
int Dimension>
79 const Eigen::Transform<Scalar, Dimension, Eigen::Affine>& transform,
80 const TransformOptions& options = {});
A general purpose polygonal mesh class.
Definition: SurfaceMesh.h:66
SurfaceMesh< Scalar, Index > transformed_mesh(SurfaceMesh< Scalar, Index > mesh, const Eigen::Transform< Scalar, Dimension, Eigen::Affine > &transform, const TransformOptions &options={})
Apply an affine transform to a mesh and return the transformed mesh.
Definition: transform_mesh.cpp:191
void transform_mesh(SurfaceMesh< Scalar, Index > &mesh, const Eigen::Transform< Scalar, Dimension, Eigen::Affine > &transform, const TransformOptions &options={})
Apply an affine transform to a mesh in-place.
Definition: transform_mesh.cpp:98
Main namespace for Lagrange.
Definition: AABBIGL.h:30