pub struct ChartCrossing {
pub edges: [(usize, usize); 2],
pub parameters: [f64; 2],
pub apart: [i64; 2],
pub at: Point,
}Expand description
A point where a face’s boundary crosses itself in its surface’s chart.
Fields§
§edges: [(usize, usize); 2]The two edges crossing, each as (wire, edge): the index of the wire among the face’s wires as stored, and of the edge in that wire’s order. The first comes first in that order.
parameters: [f64; 2]Where on each edge’s pcurve, in that pcurve’s own parameter.
apart: [i64; 2]Whole periods of the chart the second edge’s pcurve is moved by, against the first’s, to meet it there, beyond those the walk carries it by across the seam. Zero on a surface that does not close.
at: PointWhere, on the surface, placed as the face is.
Trait Implementations§
Source§impl Clone for ChartCrossing
impl Clone for ChartCrossing
Source§impl Debug for ChartCrossing
impl Debug for ChartCrossing
Source§impl PartialEq for ChartCrossing
impl PartialEq for ChartCrossing
impl StructuralPartialEq for ChartCrossing
Auto Trait Implementations§
impl Freeze for ChartCrossing
impl RefUnwindSafe for ChartCrossing
impl Send for ChartCrossing
impl Sync for ChartCrossing
impl Unpin for ChartCrossing
impl UnsafeUnpin for ChartCrossing
impl UnwindSafe for ChartCrossing
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,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.