pub struct IgesImport {
pub document: Document,
pub solids: Vec<Shape>,
pub sheets: Vec<Shape>,
pub wires: Vec<Shape>,
pub points: Vec<Shape>,
pub report: IgesReport,
}Expand description
A read IGES file: the document, the shapes found, and the report.
Fields§
§document: DocumentThe document everything was built into.
solids: Vec<Shape>One shape per manifold solid, then one per surface group that sewed closed.
sheets: Vec<Shape>Sewn shells and loose faces that do not enclose a volume.
wires: Vec<Shape>Wireframe: one wire per independent curve, and one per curve in each subfigure placement. Wires live in the document’s model but are no part of it, so a document read here writes wherever it did.
points: Vec<Shape>Stand-alone points: one vertex per independent point (116) that is geometry, and one per point in each subfigure placement. They live in the document’s model as the wires do.
report: IgesReportWhat happened along the way.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for IgesImport
impl RefUnwindSafe for IgesImport
impl Send for IgesImport
impl Sync for IgesImport
impl Unpin for IgesImport
impl UnsafeUnpin for IgesImport
impl UnwindSafe for IgesImport
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
§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.