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

Uniform point clouds #95

Open
kaipartmann opened this issue May 7, 2024 · 1 comment
Open

Uniform point clouds #95

kaipartmann opened this issue May 7, 2024 · 1 comment
Labels
breaking Anything breaking the API question Further information is requested

Comments

@kaipartmann
Copy link
Owner

Currently, a point cloud is assumed to be arbitrary distributed in space. However, if it could be guaranteed that it is uniformly distributed with a known point spacing, this would allow for performance improvements and other things like volume correction, see #32 (comment).

@kaipartmann kaipartmann added question Further information is requested breaking Anything breaking the API labels May 7, 2024
@kaipartmann
Copy link
Owner Author

Draft:

abstract type AbstractDiscretization end

struct PointCloud <: AbstractDiscretization
    position::Matrix{Float64}
    volume::Vector{Float64}
end

struct UniformPointCloud <: AbstractDiscretization
    ΔX::Float64
    position::Matrix{Float64}
    volume::Vector{Float64}
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Anything breaking the API question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant