pub struct GrowRequest {
pub kind: FitKind,
pub seeds: Vec<[f64; 3]>,
pub sigma_cutoff: Option<f64>,
pub normal_limit_deg: Option<f64>,
pub peel: bool,
pub max_triangles: Option<usize>,
}Expand description
A region to grow over a mesh from points near it, and how.
Fields§
§kind: FitKindThe surface to grow: a plane, sphere, cylinder, cone or torus.
seeds: Vec<[f64; 3]>Points on or near the mesh the region starts from.
sigma_cutoff: Option<f64>Points farther from the fit than this many sigmas are left out and
stop growth; the kernel’s own gate when None.
normal_limit_deg: Option<f64>The largest turn, in degrees, between a triangle’s normal and the
surface’s for the triangle to join; the kernel’s default when
None.
peel: boolTake off the rim while it turns away from the surface (a face’s rounds).
max_triangles: Option<usize>Trait Implementations§
Source§impl Clone for GrowRequest
impl Clone for GrowRequest
Source§impl Debug for GrowRequest
impl Debug for GrowRequest
Source§impl<'de> Deserialize<'de> for GrowRequest
impl<'de> Deserialize<'de> for GrowRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GrowRequest
impl PartialEq for GrowRequest
Source§impl Serialize for GrowRequest
impl Serialize for GrowRequest
impl StructuralPartialEq for GrowRequest
Auto Trait Implementations§
impl Forget for GrowRequest
impl Freeze for GrowRequest
impl RefUnwindSafe for GrowRequest
impl Send for GrowRequest
impl Sync for GrowRequest
impl Unpin for GrowRequest
impl UnsafeUnpin for GrowRequest
impl UnwindSafe for GrowRequest
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