#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    conjure_object::private::DeriveWith,
    Copy
)]
#[serde(crate = "conjure_object::serde")]
#[derive_with(PartialEq, Eq, PartialOrd, Ord, Hash)]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct CartesianBounds {
    #[serde(rename = "minX")]
    #[derive_with(with = conjure_object::private::DoubleWrapper)]
    min_x: f64,
    #[serde(rename = "maxX")]
    #[derive_with(with = conjure_object::private::DoubleWrapper)]
    max_x: f64,
    #[serde(rename = "minY")]
    #[derive_with(with = conjure_object::private::DoubleWrapper)]
    min_y: f64,
    #[serde(rename = "maxY")]
    #[derive_with(with = conjure_object::private::DoubleWrapper)]
    max_y: f64,
}
impl CartesianBounds {
    #[inline]
    pub fn min_x(&self) -> f64 {
        self.min_x
    }
    #[inline]
    pub fn max_x(&self) -> f64 {
        self.max_x
    }
    #[inline]
    pub fn min_y(&self) -> f64 {
        self.min_y
    }
    #[inline]
    pub fn max_y(&self) -> f64 {
        self.max_y
    }
}
