14#include <lagrange/SurfaceMesh.h>
18namespace lagrange::packing {
33#ifndef RECTANGLE_BIN_PACK_OSS
51template <
typename Scalar,
typename Index>
A general purpose polygonal mesh class.
Definition SurfaceMesh.h:66
RepackOptions allows one to customize packing options.
Definition repack_uv_charts.h:24
std::string_view chart_attribute_name
Name of the facet attribute that group facets into UV charts.
Definition repack_uv_charts.h:31
std::string_view uv_attribute_name
Name of the indexed attribute to use as UV coordinates.
Definition repack_uv_charts.h:27
bool allow_rotation
Whether to allow box to rotate by 90 degree when packing.
Definition repack_uv_charts.h:35
float margin
Minimum allowed distance between two boxes normalized within [0, 1] domain.
Definition repack_uv_charts.h:42
bool normalize
Should the output be normalized to fit into a unit box.
Definition repack_uv_charts.h:39