Skip to content

Commit

Permalink
Merge branch 'feature/concrete-properties' of https://github.com/Magm…
Browse files Browse the repository at this point in the history
…aWorks/SectionProperties into feature/concrete-properties
  • Loading branch information
kpne committed Nov 11, 2024
2 parents e9c07e7 + 0c818cb commit cec8d76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SectionProperties/Utility/Parts/EllipseQuarterPart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public AreaMomentOfInertia GetMomentOfInertiaZz()

private void SetExtends(ILocalPoint2d corner, bool mirrorY = false, bool mirrorZ = false)
{

}
}
}
2 changes: 1 addition & 1 deletion SectionProperties/Utility/Parts/TrapezoidalPart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cec8d76

Please sign in to comment.