From bbf41cdb244f6b5b25098c481ff3bbc51e936b87 Mon Sep 17 00:00:00 2001 From: DomCR Date: Tue, 27 Feb 2024 04:46:15 +0100 Subject: [PATCH 1/4] version 1.0.0 --- ACadSharp/ACadSharp.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ACadSharp/ACadSharp.csproj b/ACadSharp/ACadSharp.csproj index 189d112b5..c100b67f8 100644 --- a/ACadSharp/ACadSharp.csproj +++ b/ACadSharp/ACadSharp.csproj @@ -17,7 +17,7 @@ true README.md - 2.1.0-beta + 1.0.0 From a7f4db28864950eb1195b4dcb37ec5d732a548b6 Mon Sep 17 00:00:00 2001 From: DomCR Date: Mon, 2 Sep 2024 18:55:03 +0200 Subject: [PATCH 2/4] version 1.0.0 --- src/ACadSharp/ACadSharp.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ACadSharp/ACadSharp.csproj b/src/ACadSharp/ACadSharp.csproj index a5d51b87a..5a1a65ad9 100644 --- a/src/ACadSharp/ACadSharp.csproj +++ b/src/ACadSharp/ACadSharp.csproj @@ -17,7 +17,7 @@ true README.md - 2.4.0-beta + 1.0.0 From 5a9a6d0f8c0feb3a9bb02e7ea8324d32d8b7df2b Mon Sep 17 00:00:00 2001 From: DomCR Date: Tue, 3 Sep 2024 13:22:15 +0200 Subject: [PATCH 3/4] proj version --- src/ACadSharp/ACadSharp.csproj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ACadSharp/ACadSharp.csproj b/src/ACadSharp/ACadSharp.csproj index 5a1a65ad9..8e8616d87 100644 --- a/src/ACadSharp/ACadSharp.csproj +++ b/src/ACadSharp/ACadSharp.csproj @@ -1,7 +1,7 @@  - net6.0;net7.0;net5.0;net48;netstandard2.1 + net5.0;net6.0;net7.0;net48;netstandard2.1 DomCr ACadSharp C# Dwg Dxf @@ -18,6 +18,7 @@ true README.md 1.0.0 + ../nupkg From 5d0c3474d91244d32d9ec5b7377cdcc6d726c446 Mon Sep 17 00:00:00 2001 From: DomCR Date: Tue, 3 Sep 2024 13:23:34 +0200 Subject: [PATCH 4/4] fix --- src/ACadSharp/Entities/Circle.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ACadSharp/Entities/Circle.cs b/src/ACadSharp/Entities/Circle.cs index 468be68e3..3e7aa66d2 100644 --- a/src/ACadSharp/Entities/Circle.cs +++ b/src/ACadSharp/Entities/Circle.cs @@ -69,9 +69,8 @@ public Circle() : base() { } /// public override BoundingBox GetBoundingBox() { - XYZ min = new XYZ(Math.Min(this.Center.X - this.Radius, this.Center.X + this.Radius), Math.Min(this.Center.Y - this.Radius, this.Center.Y + this.Radius), Math.Min(this.Center.Z - this.Radius, this.Center.Z + this.Radius)); - XYZ max = new XYZ(Math.Max(this.Center.X - this.Radius, this.Center.X + this.Radius), Math.Max(this.Center.Y - this.Radius, this.Center.Y + this.Radius), Math.Max(this.Center.Z - this.Radius, this.Center.Z + this.Radius)); - + XYZ min = new XYZ(Math.Min(this.Center.X - this.Radius, this.Center.X + this.Radius), Math.Min(this.Center.Y - this.Radius, this.Center.Y + this.Radius), Math.Min(this.Center.Z, this.Center.Z)); + XYZ max = new XYZ(Math.Max(this.Center.X - this.Radius, this.Center.X + this.Radius), Math.Max(this.Center.Y - this.Radius, this.Center.Y + this.Radius), Math.Max(this.Center.Z, this.Center.Z)); return new BoundingBox(min, max); } }