pub struct ImprintPieceRecord {
pub id: u64,
pub curve: NurbsCurve,
pub t0: f64,
pub t1: f64,
pub start_vertex_id: u64,
pub end_vertex_id: u64,
pub pcurves: Vec<FacePcurve>,
pub support_faces: [FaceKey; 2],
pub shared_edge: Option<(u8, u64, bool)>,
}Fields§
§id: u64§curve: NurbsCurve§t0: f64§t1: f64§start_vertex_id: u64§end_vertex_id: u64§pcurves: Vec<FacePcurve>§support_faces: [FaceKey; 2]OCCT common-block / IsExistingPaveBlock (B2): when this SSI section
curve was found to COINCIDE along its whole span with an EXISTING
boundary edge of one of its support faces, the section is not a new
1-cell — it IS that boundary edge. Records (operand, edge_id, aligned)
of the existing edge to REUSE; aligned is whether the section’s
start→end runs the same direction as the edge’s start→end. The
assembler then resolves this piece to the shared boundary edge’s
identity so both operands reference ONE edge (no duplicate section /
one-use edge). None = an ordinary freshly-minted section (the
historical behaviour; also what BREP_SHARED_SECTION_EDGE=0 forces).
Trait Implementations§
Source§impl Clone for ImprintPieceRecord
impl Clone for ImprintPieceRecord
Source§fn clone(&self) -> ImprintPieceRecord
fn clone(&self) -> ImprintPieceRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ImprintPieceRecord
impl Debug for ImprintPieceRecord
Source§impl<'de> Deserialize<'de> for ImprintPieceRecord
impl<'de> Deserialize<'de> for ImprintPieceRecord
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
Auto Trait Implementations§
impl !Freeze for ImprintPieceRecord
impl !RefUnwindSafe for ImprintPieceRecord
impl !Sync for ImprintPieceRecord
impl Send for ImprintPieceRecord
impl Unpin for ImprintPieceRecord
impl UnsafeUnpin for ImprintPieceRecord
impl UnwindSafe for ImprintPieceRecord
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