Skip to content

Octree minimumCellSize not used? #968

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
dcooley opened this issue Feb 28, 2021 · 0 comments
Open

Octree minimumCellSize not used? #968

dcooley opened this issue Feb 28, 2021 · 0 comments

Comments

@dcooley
Copy link

dcooley commented Feb 28, 2021

minimumCellSize is required to initialise the octree here, but it is never used in the algorithm.

public class Octree<T: Equatable>: CustomStringConvertible {
    var root: OctreeNode<T>
    
    public init(boundingBox: Box, minimumCellSize: Double) {
        root = OctreeNode<T>(box: boundingBox)
    }

}

Is this an oversight, or have I misunderstood how it's used?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant