Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Octree minimumCellSize not used? #968

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?

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

No branches or pull requests

1 participant