/// A conic frustum shaped sensor volume.
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    conjure_object::private::DeriveWith
)]
#[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 Geo3dSensorShapeConic {
    #[builder(custom(type = super::VariableStaticOrChannel, convert = Box::new))]
    #[serde(rename = "fov")]
    fov: Box<super::VariableStaticOrChannel>,
    #[builder(custom(type = super::VariableStaticOrChannel, convert = Box::new))]
    #[serde(rename = "length")]
    length: Box<super::VariableStaticOrChannel>,
}
impl Geo3dSensorShapeConic {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        fov: super::VariableStaticOrChannel,
        length: super::VariableStaticOrChannel,
    ) -> Self {
        Self::builder().fov(fov).length(length).build()
    }
    /// Full field-of-view (FOV) angle, in degrees.
    #[inline]
    pub fn fov(&self) -> &super::VariableStaticOrChannel {
        &*self.fov
    }
    /// Length for the projection, in meters.
    #[inline]
    pub fn length(&self) -> &super::VariableStaticOrChannel {
        &*self.length
    }
}
