pub struct SurfacePatch(pub NurbSurface3D);Expand description
A patch of a surface: a piece of the surface’s points, At its
parameters.
Tuple Fields§
§0: NurbSurface3DImplementations§
Source§impl SurfacePatch
impl SurfacePatch
Sourcepub fn halves(&self) -> GeopResult<(Self, Self)>
pub fn halves(&self) -> GeopResult<(Self, Self)>
The patch in two, across the direction it is longer in.
Sourcepub fn middle(&self) -> GeopResult<(Scalar, Scalar)>
pub fn middle(&self) -> GeopResult<(Scalar, Scalar)>
The middle of its domain, sharp: a free choice of a point of it.
Trait Implementations§
Source§impl Clone for SurfacePatch
impl Clone for SurfacePatch
Source§fn clone(&self) -> SurfacePatch
fn clone(&self) -> SurfacePatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SurfacePatch
impl Debug for SurfacePatch
Source§impl Piece for SurfacePatch
impl Piece for SurfacePatch
Source§fn hull(&self) -> GeopResult<Vec<Vector3>>
fn hull(&self) -> GeopResult<Vec<Vector3>>
Points whose convex hull holds every point of the piece.
Auto Trait Implementations§
impl Freeze for SurfacePatch
impl RefUnwindSafe for SurfacePatch
impl Send for SurfacePatch
impl Sync for SurfacePatch
impl Unpin for SurfacePatch
impl UnsafeUnpin for SurfacePatch
impl UnwindSafe for SurfacePatch
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