feat(engine): add CanonicalFrame helper for drawing-to-canonical rotation

This commit is contained in:
2026-04-20 09:06:30 -04:00
parent 9a6b656e3c
commit 402af91af5
3 changed files with 169 additions and 0 deletions
+9
View File
@@ -163,5 +163,14 @@ namespace OpenNest
/// Offset distances to the original location.
/// </summary>
public Vector Offset { get; set; }
/// <summary>
/// Rotation (radians) that maps the source program geometry to its canonical
/// (MBR-axis-aligned) frame. A value of 0 means the drawing is already canonical.
/// Task 3 will wire <see cref="Drawing.Program"/> setter to populate this via
/// <see cref="CanonicalAngle.Compute"/>; for now it is assigned manually by
/// engine helpers (see <c>OpenNest.Engine.CanonicalFrame</c>).
/// </summary>
public double Angle { get; set; }
}
}