Skip to content

Commit d440030

Browse files
authored
Merge pull request #587 from DomCR/issue-584_boundingbox-merge-fix
Issue 584 boundingbox merge fix
2 parents 791c7d9 + 5751201 commit d440030

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ about: Create a report to help us improve
44
title: ''
55
labels: bug
66
assignees: ''
7-
87
---
98

109
**Describe the bug**
@@ -22,3 +21,10 @@ If applicable, add screenshots to help explain your problem.
2221
**Additional context**
2322
Add any other context about the problem here.
2423
If the issue is related to an specific dwg/dxf file and if able, attach that file to the issue of an equivalent with the same error.
24+
25+
---
26+
27+
**Release needed**
28+
29+
- [ ] Yes, using the Nuget package.
30+
- [ ] No, using the github repo.

src/ACadSharp.Tests/Entities/ArcTests.cs

+6
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ public void GetBoundingBoxTest()
4848

4949
Assert.Equal(new XYZ(0, 0, 0), boundingBox.Min);
5050
Assert.Equal(new XYZ(5, 5, 0), boundingBox.Max);
51+
52+
arc.Center = new XYZ(200.0, 200.0, 0.0);
53+
boundingBox = arc.GetBoundingBox();
54+
55+
Assert.Equal(new XYZ(200, 200, 0), boundingBox.Min);
56+
Assert.Equal(new XYZ(205, 205, 0), boundingBox.Max);
5157
}
5258

5359
[Fact]

src/ACadSharp/ACadSharp.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<PropertyGroup>
1818
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1919
<PackageReadmeFile>README.md</PackageReadmeFile>
20-
<Version>1.0.11</Version>
20+
<Version>1.0.12</Version>
2121
<PackageOutputPath>../nupkg</PackageOutputPath>
2222
</PropertyGroup>
2323

0 commit comments

Comments
 (0)