Skip to content

Commit

Permalink
Merge pull request #450 from KisliPlug/patch-1
Browse files Browse the repository at this point in the history
Update Hatch.cs
  • Loading branch information
DomCR authored Sep 13, 2024
2 parents af4286f + bc43a19 commit d24f9de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ACadSharp/Entities/Hatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public Hatch() : base() { }
/// <inheritdoc/>
public override BoundingBox GetBoundingBox()
{
return BoundingBox.FromPoints(this.SeedPoints.Cast<XYZ>());
return BoundingBox.FromPoints(this.SeedPoints.Select(x=>(XYZ)x));
}

/// <inheritdoc/>
Expand Down

0 comments on commit d24f9de

Please sign in to comment.