Table of Contents

Constructor PackPlacement

Namespace
GeometryHelper.Packing
Assembly
GeometryHelper.dll

PackPlacement(int, GeoVector2, GeoRectangle2, bool)

Initializes a new instance of the PackPlacement struct.

public PackPlacement(int sheetIndex, GeoVector2 translation, GeoRectangle2 viewBox, bool placed)

Parameters

sheetIndex int

Which sheet the box goes on, the first nought; -1 when it goes on none.

translation GeoVector2

How far the box moves.

viewBox GeoRectangle2

The box, moved.

placed bool

Whether the box found a place.