pub struct Edge {
pub curve: Curve3,
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§start_vertex: VertexId§end_vertex: VertexIdTrait Implementations§
Source§impl<'de> Deserialize<'de> for Edge
impl<'de> Deserialize<'de> for Edge
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
impl StructuralPartialEq for Edge
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnsafeUnpin for Edge
impl UnwindSafe for Edge
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