pub struct Edge<S: Scalar> {
pub curve: Curve3<S>,
pub start_vertex: VertexId,
pub end_vertex: VertexId,
}Expand description
A 1-dimensional topological entity: a bounded arc of a 3-D NURBS curve.
The curve is owned directly by its edge, and is always pre-trimmed so its
own domain (curve.domain()) is exactly this edge’s span — there is no
separate [start_t, end_t] window into a possibly-larger curve.
start_vertex lies at curve.domain().0 and end_vertex at
curve.domain().1.
Fields§
§curve: Curve3<S>§start_vertex: VertexId§end_vertex: VertexIdTrait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Edge<S>where
S: Freeze,
impl<S> RefUnwindSafe for Edge<S>where
S: RefUnwindSafe,
impl<S> Send for Edge<S>
impl<S> Sync for Edge<S>
impl<S> Unpin for Edge<S>where
S: Unpin,
impl<S> UnsafeUnpin for Edge<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Edge<S>where
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