pub struct Rasterizer { /* private fields */ }Expand description
Rasterizes models one after another, meshing a face on its own only
once while it stays the same: the part before a step and the part with
it share the faces the step left as they were, and those are not
meshed again. The faces are joined along their edges anew each time,
so what it makes of a model is what rasterize makes of it.
Implementations§
Source§impl Rasterizer
impl Rasterizer
Sourcepub fn rasterize(
&mut self,
model: &Model,
n: usize,
) -> GeopResult<RasterizedModel>
pub fn rasterize( &mut self, model: &Model, n: usize, ) -> GeopResult<RasterizedModel>
model rasterized as rasterize does, of the faces meshed
before what stayed the same.
Trait Implementations§
Source§impl Default for Rasterizer
impl Default for Rasterizer
Source§fn default() -> Rasterizer
fn default() -> Rasterizer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Rasterizer
impl RefUnwindSafe for Rasterizer
impl Send for Rasterizer
impl Sync for Rasterizer
impl Unpin for Rasterizer
impl UnsafeUnpin for Rasterizer
impl UnwindSafe for Rasterizer
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