pub struct SectionEdge {
pub face_a: FaceId,
pub face_b: FaceId,
pub curve: Curve3,
pub span: Interval,
pub start: Point3,
pub end: Point3,
pub along_a: bool,
pub along_b: bool,
pub other_a: Surface,
pub other_b: Surface,
}Expand description
A piece of an intersection curve lying on a face of each operand.
Fields§
§face_a: FaceIdThe face of the first operand the edge lies on.
face_b: FaceIdThe face of the second operand the edge lies on.
curve: Curve3The exact curve.
span: IntervalThe curve’s parameter span; for a circle or ellipse it may run past
2 pi.
start: Point3The curve’s point at span.start.
end: Point3The curve’s point at span.end.
along_a: boolWhether the edge runs along a boundary edge face_a already has, so
it does not split face_a.
along_b: boolWhether the edge runs along a boundary edge face_b already has.
other_a: SurfaceThe surface that meets face_a’s surface along this edge: face_b’s
for a crossing, or for an edge imprinted from a coincident face the
surface that bounds it there. Its equation on face_a is the edge’s
pcurve.
other_b: SurfaceThe surface that meets face_b’s surface along this edge.
Trait Implementations§
Source§impl Clone for SectionEdge
impl Clone for SectionEdge
Source§fn clone(&self) -> SectionEdge
fn clone(&self) -> SectionEdge
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 Debug for SectionEdge
impl Debug for SectionEdge
Source§impl PartialEq for SectionEdge
impl PartialEq for SectionEdge
impl StructuralPartialEq for SectionEdge
Auto Trait Implementations§
impl Freeze for SectionEdge
impl RefUnwindSafe for SectionEdge
impl Send for SectionEdge
impl Sync for SectionEdge
impl Unpin for SectionEdge
impl UnwindSafe for SectionEdge
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