#[non_exhaustive]pub struct ImprintResultRecord {
pub vertices: Vec<ImprintVertex>,
pub pieces: Vec<ImprintPieceRecord>,
pub by_face: Vec<FaceImprints>,
pub edge_splits: Vec<EdgeSplitRecord>,
pub barrier_edges: Vec<(u8, u64)>,
pub tangent_nodes: Vec<Vec3>,
pub section_evidence: bool,
pub cosurface_pairs: Vec<(FaceKey, FaceKey)>,
pub operand_sliver_regions: Vec<([f64; 3], [f64; 3])>,
pub tangent_sections: Vec<TangentSectionRecord>,
pub faces_in_unproved_pairs: Option<Vec<FaceKey>>,
}Expand description
Not exhaustive: a new field is not a breaking change. Outside this crate,
start from ImprintResultRecord::default() and set the fields you need.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.vertices: Vec<ImprintVertex>§pieces: Vec<ImprintPieceRecord>§by_face: Vec<FaceImprints>§edge_splits: Vec<EdgeSplitRecord>§barrier_edges: Vec<(u8, u64)>Operand edges geometrically OVERLAPPED by a section curve (the cosurface/coincident locus: an inscribed sphere’s contact circle riding a cap ring). Fragment-selection fate must never flood across them — the two sides of such an edge can lie on opposite sides of the other operand (the cap disc inside, the wall outside).
tangent_nodes: Vec<Vec3>Every ISOLATED TANGENT NODE the imprint admitted: a point where the two
carriers touch with parallel normals and the section crosses itself, so
the pair was marched rather than refused (see
imprint/tangent_contact.rs). The boolean attributes a later tearing to
these rather than reporting an anonymous degeneracy — the second-order
filter cannot decide a third-order singularity, so the assembly is the
authority on whether a node it admitted was really imprintable.
section_evidence: boolTrue when the imprint saw ANY surface-contact evidence — an accepted pierce seed, a traced SSI branch (even one later clipped away), or a minted piece. Pure material disjointness leaves none, while a silently-lost section always leaves at least the upstream evidence, so the boolean’s legitimate-empty adjudication requires this to be false.
cosurface_pairs: Vec<(FaceKey, FaceKey)>Every face pair the imprint read as ONE surface and exchanged boundary
curves across instead of intersecting (cosurface_pair, or the sampled
pair classification’s Cosurface). Selection holds a fragment whose
point lies in such a partner’s trim On against it, so the coincidence
the sections were built on is the one the fragments are kept by.
operand_sliver_regions: Vec<([f64; 3], [f64; 3])>BREP_FEATURE_SCALE_OPERAND_SLIVERS: the regions (minimum, maximum) of
the slivers FeatureScale registered between the two operands’ faces.
The fragmenter narrows its endpoint bands on a face that meets one.
tangent_sections: Vec<TangentSectionRecord>Every EXTENDED tangential contact the tangent-curve lane recognised
(ImprintOptions::tangent_curve_lane): the carriers touch along a
curve inside both trims. A planar-carrier contact is marched and the
clipped run described; a curved/curved contact is named at its point
and not traced. None of these is imprinted yet — the record exists so
the boolean can attribute a refusal on the pair to the contact by name.
Appended at the end of the struct (2026-10-10).
faces_in_unproved_pairs: Option<Vec<FaceKey>>The faces of either operand that stand in at least one cross-operand
face pair the imprint did NOT positively prove apart: every pair whose
face boxes met and was neither classified Disjoint (control-hull or
parallel-plane separation) nor proved apart by the trim windows’ span
hulls. A face absent from it was proved clear of every face of the
other operand (its box met none, or each pair it met was proved apart),
so nothing the operation added can cross it. None wherever the
imprint did not run its plain two-operand pair loop (a self-imprint,
a record assembled elsewhere): then no face may be read as proved.
Trait Implementations§
Source§impl Clone for ImprintResultRecord
impl Clone for ImprintResultRecord
Source§fn clone(&self) -> ImprintResultRecord
fn clone(&self) -> ImprintResultRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more