15#include <lagrange/SurfaceMesh.h>
17#include <Eigen/Geometry>
40template <
size_t Dimension,
typename Scalar,
typename Index>
42Eigen::AlignedBox<Scalar, static_cast<int>(Dimension)>
mesh_bbox(
62template <
size_t Dimension,
typename Scalar,
typename Index>
64Eigen::AlignedBox<Scalar, static_cast<int>(Dimension)>
mesh_bbox(
66 const Eigen::Transform<
Scalar,
static_cast<int>(Dimension), Eigen::Affine>& transform);
A general purpose polygonal mesh class.
Definition SurfaceMesh.h:73
@ Scalar
Mesh attribute must have exactly 1 channel.
Definition AttributeFwd.h:56
Eigen::AlignedBox< Scalar, static_cast< int >(Dimension)> mesh_bbox(const SurfaceMesh< Scalar, Index > &mesh)
Compute the axis-aligned bounding box of a mesh.
Definition mesh_bbox.cpp:22
Main namespace for Lagrange.