pub struct CarrierExtension {
pub u_min: f64,
pub u_max: f64,
pub v_min: f64,
pub v_max: f64,
}Expand description
How far an offset carrier’s TRIM grows past the source face at each of its four parametric sides, in world units.
A carrier is trimmed by the parametric IMAGE of the source loops, so the
growth is realised by reshaping the carrier surface’s net while the cloned
pcurves stay put: an affine plane’s 2x2 net slides along the plane, a ruled
(linear-v) net stretches each sampled ruling. Both are solved so that the
trim’s own uv bounding box moves by exactly these amounts — a trim that
occupies a sub-range of its surface’s domain (every booleaned or
blend-trimmed face) grows by the same distance as one that spans it. The
legacy planar_extension: f64 entry points are the uniform case.
Fields§
§u_min: f64§u_max: f64§v_min: f64§v_max: f64Implementations§
Source§impl CarrierExtension
impl CarrierExtension
pub const NONE: CarrierExtension
pub fn uniform(amount: f64) -> CarrierExtension
pub fn is_active(&self) -> bool
Trait Implementations§
Source§impl Clone for CarrierExtension
impl Clone for CarrierExtension
Source§fn clone(&self) -> CarrierExtension
fn clone(&self) -> CarrierExtension
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 moreimpl Copy for CarrierExtension
Source§impl Debug for CarrierExtension
impl Debug for CarrierExtension
Source§impl PartialEq for CarrierExtension
impl PartialEq for CarrierExtension
impl StructuralPartialEq for CarrierExtension
Auto Trait Implementations§
impl Freeze for CarrierExtension
impl RefUnwindSafe for CarrierExtension
impl Send for CarrierExtension
impl Sync for CarrierExtension
impl Unpin for CarrierExtension
impl UnsafeUnpin for CarrierExtension
impl UnwindSafe for CarrierExtension
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