Struct truck_geometry::decorators::IntersectionCurve
source · pub struct IntersectionCurve<C, S> { /* private fields */ }
Expand description
Intersection curve between two surfaces.
Implementations§
source§impl<C, S> IntersectionCurve<C, S>
impl<C, S> IntersectionCurve<C, S>
sourcepub fn surface0(&self) -> &S
pub fn surface0(&self) -> &S
This curve is a part of intersection of self.surface0()
and self.surface1()
.
sourcepub fn surface1(&self) -> &S
pub fn surface1(&self) -> &S
This curve is a part of intersection of self.surface0()
and self.surface1()
.
sourcepub fn new_unchecked(
surface0: Box<S>,
surface1: Box<S>,
leader: C,
tol: f64,
) -> Self
pub fn new_unchecked( surface0: Box<S>, surface1: Box<S>, leader: C, tol: f64, ) -> Self
Creates intersection curve with unchecked bound. This method is only for developer of truck
, deplicated for users.
source§impl<C, S> IntersectionCurve<C, S>
impl<C, S> IntersectionCurve<C, S>
Trait Implementations§
source§impl<C, S> BoundedCurve for IntersectionCurve<C, S>where
C: ParametricCurve3D + BoundedCurve,
S: ParametricSurface3D + SearchNearestParameter<D2, Point = Point3>,
impl<C, S> BoundedCurve for IntersectionCurve<C, S>where
C: ParametricCurve3D + BoundedCurve,
S: ParametricSurface3D + SearchNearestParameter<D2, Point = Point3>,
source§impl<C: Clone, S: Clone> Clone for IntersectionCurve<C, S>
impl<C: Clone, S: Clone> Clone for IntersectionCurve<C, S>
source§fn clone(&self) -> IntersectionCurve<C, S>
fn clone(&self) -> IntersectionCurve<C, S>
Returns a copy 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<C, S> Cut for IntersectionCurve<C, S>where
C: Cut<Point = Point3, Vector = Vector3>,
S: ParametricSurface3D + SearchNearestParameter<D2, Point = Point3>,
impl<C, S> Cut for IntersectionCurve<C, S>where
C: Cut<Point = Point3, Vector = Vector3>,
S: ParametricSurface3D + SearchNearestParameter<D2, Point = Point3>,
source§impl<'de, C, S> Deserialize<'de> for IntersectionCurve<C, S>where
C: Deserialize<'de>,
S: Deserialize<'de>,
impl<'de, C, S> Deserialize<'de> for IntersectionCurve<C, S>where
C: Deserialize<'de>,
S: Deserialize<'de>,
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<C: Invertible, S: Clone> Invertible for IntersectionCurve<C, S>
impl<C: Invertible, S: Clone> Invertible for IntersectionCurve<C, S>
source§impl<C, S> ParameterDivision1D for IntersectionCurve<C, S>
impl<C, S> ParameterDivision1D for IntersectionCurve<C, S>
source§impl<C, S> ParametricCurve for IntersectionCurve<C, S>
impl<C, S> ParametricCurve for IntersectionCurve<C, S>
source§fn parameter_range(&self) -> ParameterRange
fn parameter_range(&self) -> ParameterRange
Returns default parameter range
source§impl<C, S> SearchNearestParameter<D1> for IntersectionCurve<C, S>where
C: ParametricCurve3D + SearchNearestParameter<D1, Point = Point3>,
S: ParametricSurface3D + SearchNearestParameter<D2, Point = Point3>,
impl<C, S> SearchNearestParameter<D1> for IntersectionCurve<C, S>where
C: ParametricCurve3D + SearchNearestParameter<D1, Point = Point3>,
S: ParametricSurface3D + SearchNearestParameter<D2, Point = Point3>,
Only derive from leading curve. Not precise.
source§impl<C, S> SearchParameter<D1> for IntersectionCurve<C, S>where
C: ParametricCurve3D + SearchNearestParameter<D1, Point = Point3>,
S: ParametricSurface3D + SearchNearestParameter<D2, Point = Point3>,
impl<C, S> SearchParameter<D1> for IntersectionCurve<C, S>where
C: ParametricCurve3D + SearchNearestParameter<D1, Point = Point3>,
S: ParametricSurface3D + SearchNearestParameter<D2, Point = Point3>,
source§impl<C, S> Serialize for IntersectionCurve<C, S>
impl<C, S> Serialize for IntersectionCurve<C, S>
source§impl<C, S> Transformed<Matrix4<f64>> for IntersectionCurve<C, S>
impl<C, S> Transformed<Matrix4<f64>> for IntersectionCurve<C, S>
source§fn transform_by(&mut self, trans: Matrix4)
fn transform_by(&mut self, trans: Matrix4)
transform by
trans
.source§fn transformed(&self, trans: T) -> Self
fn transformed(&self, trans: T) -> Self
transformed geometry by
trans
.impl<C, S> StructuralPartialEq for IntersectionCurve<C, S>
Auto Trait Implementations§
impl<C, S> Freeze for IntersectionCurve<C, S>where
C: Freeze,
impl<C, S> RefUnwindSafe for IntersectionCurve<C, S>where
C: RefUnwindSafe,
S: RefUnwindSafe,
impl<C, S> Send for IntersectionCurve<C, S>
impl<C, S> Sync for IntersectionCurve<C, S>
impl<C, S> Unpin for IntersectionCurve<C, S>where
C: Unpin,
impl<C, S> UnwindSafe for IntersectionCurve<C, S>where
C: UnwindSafe,
S: UnwindSafe,
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)