< Summary

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

#LineLine coverage
 1namespace SwiftCollections.Query;
 2
 3/// <summary>
 4/// Represents a numerics-backed Bounding Volume Hierarchy (BVH) optimized for spatial queries.
 5/// </summary>
 6public class SwiftBVH<T> : SwiftBVH<T, BoundVolume>
 7    where T : notnull
 8{
 9    /// <summary>
 10    /// Initializes a new instance of the <see cref="SwiftBVH{T}"/> class with the specified capacity.
 11    /// </summary>
 12    /// <param name="capacity">Initial tree capacity.</param>
 13    public SwiftBVH(int capacity)
 7014        : base(capacity) { }
 15}

Methods/Properties

.ctor(System.Int32)