Skip to content

Support cubes with volume #2

@pjungwir

Description

@pjungwir

It looks like right now this gem only supports zero-volume values. Are you interested in a PR that accepts non-point values? With postgres you can give a min/max for each dimension with cube(ARRAY[the, min, values], ARRAY[the, max, values]). What do you think would be a good way to represent that in Ruby?

I'm not sure myself if that would be useful for model attributes, but it seems useful as a condition in a query, e.g. WHERE features && cube(ARRAY[1,1,1], ARRAY[3,7,10]).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions