< Summary

Information
Class: Gravitas.CollisionHandling.BoundarySpan3D
Assembly: Gravitas
File(s): /home/runner/work/Gravitas/Gravitas/src/Gravitas/CollisionHandling/Detection/3D/Mesh/Surfaces/BoundarySpan3D.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 29
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%

File(s)

/home/runner/work/Gravitas/Gravitas/src/Gravitas/CollisionHandling/Detection/3D/Mesh/Surfaces/BoundarySpan3D.cs

#LineLine coverage
 1//=======================================================================
 2// BoundarySpan3D.cs
 3//=======================================================================
 4// MIT License, Copyright (c) 2026-present David Oravsky (mrdav30)
 5// See LICENSE file in the project root for full license information.
 6//=======================================================================
 7
 8using FixedMathSharp;
 9using FixedMathSharp.Geometry;
 10
 11namespace Gravitas.CollisionHandling;
 12
 13/// <summary>
 14/// Stores a classified interval of an original mesh perimeter edge and its adjacent surface.
 15/// </summary>
 16internal readonly struct BoundarySpan3D
 17{
 18    internal readonly int First, Second, OtherMember, OtherSurface;
 19    internal readonly Vector3d Start, End;
 20    internal readonly RationalSegmentInterval Interval;
 21    internal readonly SpanKind Kind;
 22
 23    internal BoundarySpan3D(int first, int second, Vector3d start, Vector3d end,
 24        in RationalSegmentInterval interval, SpanKind kind, int otherMember, int otherSurface)
 25    {
 2703226        First = first; Second = second; Start = start; End = end;
 2703227        Interval = interval; Kind = kind; OtherMember = otherMember; OtherSurface = otherSurface;
 675828    }
 29}