dp_rect_pack  1.1.3
Rectangle packing library for C++
Public Member Functions | Public Attributes | List of all members
dp::rect_pack::RectPacker< GeomT >::Spacing Struct Reference

#include <dp_rect_pack.h>

Public Member Functions

 Spacing (GeomT spacing)
 Construct Spacing with the same spacing for both dimensions. More...
 
 Spacing (GeomT x, GeomT y)
 

Public Attributes

GeomT x
 Horizontal spacing. More...
 
GeomT y
 Vertical spacing. More...
 

Constructor & Destructor Documentation

◆ Spacing() [1/2]

template<typename GeomT = int>
dp::rect_pack::RectPacker< GeomT >::Spacing::Spacing ( GeomT  spacing)
inlineexplicit

Construct Spacing with the same spacing for both dimensions.

◆ Spacing() [2/2]

template<typename GeomT = int>
dp::rect_pack::RectPacker< GeomT >::Spacing::Spacing ( GeomT  x,
GeomT  y 
)
inline

Member Data Documentation

◆ x

template<typename GeomT = int>
GeomT dp::rect_pack::RectPacker< GeomT >::Spacing::x

Horizontal spacing.

◆ y

template<typename GeomT = int>
GeomT dp::rect_pack::RectPacker< GeomT >::Spacing::y

Vertical spacing.


The documentation for this struct was generated from the following file: