Struct SheetFrame
- Namespace
- GeometryHelper.Packing
- Assembly
- GeometryHelper.dll
One sheet as it lies: which it is, the whole of it, and the part inside its offsets that boxes are packed into.
public readonly struct SheetFrame : IEquatable<SheetFrame>
- Implements
- Inherited Members
Remarks
Both are rectangles in the units of the boxes, so every corner is there to be read:
frame.Bounds.LowerLeft, frame.Bounds.UpperRight, frame.UsableArea.Center and the rest.
Constructors
- SheetFrame(int, GeoRectangle2, GeoRectangle2)
Initializes a new instance of the SheetFrame struct.
Properties
- Bounds
Gets the whole sheet: its paper size times its scale, its lower left corner where the sheet lies.
- Index
Gets which sheet it is: nought for the first, the one Origin places, and one more for each sheet after it.
- UsableArea
Gets the part of the sheet inside its four offsets, which the boxes are packed into.
Methods
- Equals(SheetFrame)
Indicates whether this frame is the same as another: the same sheet, exactly where it is.
Operators
- operator ==(SheetFrame, SheetFrame)
Compares two frames for equality.
- operator !=(SheetFrame, SheetFrame)
Compares two frames for inequality.