/// Decimate by spatial trees.
/// Creates buckets by bisecting on each dimension, creating quadrants for 2d scatter and octants for 3d scatter.
/// Continues subdividing by prioritizing larger undivided buckets until reaching the max amount of buckets.
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash,
    Copy
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct SpatialDecimateStrategy {}
impl SpatialDecimateStrategy {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new() -> Self {
        Self::builder().build()
    }
}
