Method PlaceCorner
- Namespace
- GeometryHelper.Packing
- Assembly
- GeometryHelper.dll
PlaceCorner(SheetCorner, GeoPoint2)
Moves the sheet so that one of its corners, or its middle, lies at a point, by setting Origin.
public void PlaceCorner(SheetCorner corner, GeoPoint2 point)
Parameters
cornerSheetCornerThe point of the sheet to put there.
pointGeoPoint2Where to put it, in the units of the boxes.
Remarks
The sheet is measured as it stands: a scale set afterwards keeps the lower left corner where it is, and moves the others.
Exceptions
- ArgumentOutOfRangeException
The corner is not one of SheetCorner, or the point is not at finite coordinates.