13#ifdef LAGRANGE_ENABLE_LEGACY_FUNCTIONS
14 #include <lagrange/legacy/normalize_meshes.h>
17#include <lagrange/SurfaceMesh.h>
18#include <lagrange/transform_mesh.h>
19#include <lagrange/utils/span.h>
21#include <Eigen/Geometry>
45template <
size_t Dimension = 3,
typename Scalar,
typename Index>
48 const TransformOptions& options = {}) -> Eigen::Transform<Scalar, Dimension, Eigen::Affine>;
59template <
typename Scalar,
typename Index>
74template <
size_t Dimension = 3,
typename Scalar,
typename Index>
77 const TransformOptions& options = {}) -> Eigen::Transform<Scalar, Dimension, Eigen::Affine>;
88template <
typename Scalar,
typename Index>
91 const TransformOptions& options = {});
A general purpose polygonal mesh class.
Definition: SurfaceMesh.h:66
void normalize_mesh(SurfaceMesh< Scalar, Index > &mesh, const TransformOptions &options={})
Normalize a mesh to fit in a unit box centered at the origin.
Definition: normalize_meshes.cpp:52
auto normalize_mesh_with_transform(SurfaceMesh< Scalar, Index > &mesh, const TransformOptions &options={}) -> Eigen::Transform< Scalar, Dimension, Eigen::Affine >
Normalize a mesh to fit in a unit box centered at the origin.
Definition: normalize_meshes.cpp:25
void normalize_meshes(span< SurfaceMesh< Scalar, Index > * > meshes, const TransformOptions &options={})
Normalize a list of meshes to fit in a unit box centered at the origin.
Definition: normalize_meshes.cpp:102
auto normalize_meshes_with_transform(span< SurfaceMesh< Scalar, Index > * > meshes, const TransformOptions &options={}) -> Eigen::Transform< Scalar, Dimension, Eigen::Affine >
Normalize a list of meshes to fit in a unit box centered at the origin.
Definition: normalize_meshes.cpp:62
::nonstd::span< T, Extent > span
A bounds-safe view for sequences of objects.
Definition: span.h:27
Main namespace for Lagrange.
Definition: AABBIGL.h:30