refactor(Hi.Sample): follow HiGeom's Box3d struct -- the demo displayees take ref Box3d and expand through Expanded, DemoSatellite scales its boxes with ScaledFromCenter, and MachiningProjectDisplayee forwards ref dst to the assembly
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -239,10 +239,10 @@ public class MachiningProjectDisplayee : IDisplayee, IGetAnchor
|
||||
bind.PopColor();
|
||||
}
|
||||
/// <inheritdoc/>
|
||||
public void ExpandToBox3d(Box3d dst)
|
||||
public void ExpandToBox3d(ref Box3d dst)
|
||||
{
|
||||
//Console.WriteLine($"dst.A: {dst}");
|
||||
LocalProjectService?.MachiningEquipment?.GetAsmb()?.ExpandToBox3d(dst,
|
||||
LocalProjectService?.MachiningEquipment?.GetAsmb()?.ExpandToBox3d(ref dst,
|
||||
GetAnchor(),
|
||||
GetAnchoredDisplayeeList().ToArray());
|
||||
//Console.WriteLine($"dst.B: {dst}");
|
||||
|
||||
Reference in New Issue
Block a user