pub enum GeometryOutput {
Geometry2D(Geometry2DOutput),
Geometry3D(Geometry3DOutput),
}Expand description
Geometry output to be stored in the render cache.
Variants§
Implementations§
Source§impl GeometryOutput
impl GeometryOutput
Sourcepub fn ground_radius(&self) -> Length
pub fn ground_radius(&self) -> Length
The radius of a centered circle that wraps the output geometries bounds on the ground.
Sourcepub fn scene_radius(&self) -> Length
pub fn scene_radius(&self) -> Length
The radius of a centered sphere, that wrap the geometries bounds.
Trait Implementations§
Source§impl Clone for GeometryOutput
impl Clone for GeometryOutput
Source§fn clone(&self) -> GeometryOutput
fn clone(&self) -> GeometryOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeometryOutput
impl Debug for GeometryOutput
Source§impl From<Geometry2D> for GeometryOutput
impl From<Geometry2D> for GeometryOutput
Source§fn from(geo: Geometry2D) -> Self
fn from(geo: Geometry2D) -> Self
Converts to this type from the input type.
Source§impl From<Geometry3D> for GeometryOutput
impl From<Geometry3D> for GeometryOutput
Source§fn from(geo: Geometry3D) -> Self
fn from(geo: Geometry3D) -> Self
Converts to this type from the input type.
Source§impl From<Rc<WithBounds2D<Geometry2D>>> for GeometryOutput
impl From<Rc<WithBounds2D<Geometry2D>>> for GeometryOutput
Source§fn from(value: Geometry2DOutput) -> Self
fn from(value: Geometry2DOutput) -> Self
Converts to this type from the input type.
Source§impl From<Rc<WithBounds3D<Geometry3D>>> for GeometryOutput
impl From<Rc<WithBounds3D<Geometry3D>>> for GeometryOutput
Source§fn from(value: Geometry3DOutput) -> Self
fn from(value: Geometry3DOutput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GeometryOutput
impl RefUnwindSafe for GeometryOutput
impl !Send for GeometryOutput
impl !Sync for GeometryOutput
impl Unpin for GeometryOutput
impl UnwindSafe for GeometryOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more