< Summary

Information
Class: SwiftCollections.Query.SwiftFixedBVH<T>
Assembly: SwiftCollections.FixedMathSharp
File(s): /home/runner/work/SwiftCollections/SwiftCollections/src/SwiftCollections.FixedMathSharp/Query/BoundingVolume/SwiftFixedBVH.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 23
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/SwiftCollections/SwiftCollections/src/SwiftCollections.FixedMathSharp/Query/BoundingVolume/SwiftFixedBVH.cs

#LineLine coverage
 1//=======================================================================
 2// SwiftFixedBVH.cs
 3//=======================================================================
 4// MIT License, Copyright (c) 2024–present David Oravsky (mrdav30)
 5// See LICENSE file in the project root for full license information.
 6//=======================================================================
 7
 8namespace SwiftCollections.Query;
 9
 10/// <summary>
 11/// Represents a fixed-point Bounding Volume Hierarchy (BVH) optimized for spatial queries.
 12/// </summary>
 13public class SwiftFixedBVH<T> : SwiftBVH<T, FixedBoundVolume>
 14{
 15    /// <summary>
 16    /// Initializes a new instance of the <see cref="SwiftFixedBVH{T}"/> class with the specified capacity.
 17    /// </summary>
 18    /// <param name="capacity">Initial tree capacity.</param>
 19    public SwiftFixedBVH(int capacity)
 120        : base(capacity)
 21    {
 122    }
 23}

Methods/Properties

.ctor(System.Int32)