From 0c818cb46e612e089b47cf453a57c6af5e56d9a1 Mon Sep 17 00:00:00 2001 From: Lint Action Date: Fri, 8 Nov 2024 16:04:31 +0000 Subject: [PATCH] Fix code style issues with dotnet_format --- SectionProperties/Utility/Parts/EllipseQuarterPart.cs | 2 +- SectionProperties/Utility/Parts/TrapezoidalPart.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SectionProperties/Utility/Parts/EllipseQuarterPart.cs b/SectionProperties/Utility/Parts/EllipseQuarterPart.cs index 26183e8..a475243 100644 --- a/SectionProperties/Utility/Parts/EllipseQuarterPart.cs +++ b/SectionProperties/Utility/Parts/EllipseQuarterPart.cs @@ -88,7 +88,7 @@ public AreaMomentOfInertia GetMomentOfInertiaZz() private void SetExtends(ILocalPoint2d corner, bool mirrorY = false, bool mirrorZ = false) { - + } } } diff --git a/SectionProperties/Utility/Parts/TrapezoidalPart.cs b/SectionProperties/Utility/Parts/TrapezoidalPart.cs index f68aaf2..0bc48c3 100644 --- a/SectionProperties/Utility/Parts/TrapezoidalPart.cs +++ b/SectionProperties/Utility/Parts/TrapezoidalPart.cs @@ -94,7 +94,7 @@ private ILocalDomain2d GetExtends() ? a.Abs() / 2 + ElasticCentroid.Y : b.Abs() / 2 + ElasticCentroid.Y; Length minY = a.Abs() > b.Abs() - ? ElasticCentroid.Y - a.Abs() / 2 + ? ElasticCentroid.Y - a.Abs() / 2 : ElasticCentroid.Y - b.Abs() / 2; Length e = h / 3 * (a.Abs() + 2 * b.Abs()) / (a.Abs() + b.Abs()); Length maxZ = ElasticCentroid.Z + h - e;