14#include <lagrange/SurfaceMesh.h>
18namespace lagrange::packing {
33#ifndef RECTANGLE_BIN_PACK_OSS
55template <
typename Scalar,
typename Index>
A general purpose polygonal mesh class.
Definition SurfaceMesh.h:73
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.
Definition repack_uv_charts.h:46
bool normalize
Whether the output should be normalized to fit into a unit box.
Definition repack_uv_charts.h:41