pub enum TopologyKind {
Empty,
Wire,
ManifoldSolid,
Sheet,
NonManifoldSolid,
Mixed,
}Variants§
Empty
No faces and no edges (IsEmptyModel). A body of vertex records alone
reads here too.
Wire
Edges and no faces (IsWireFrame).
ManifoldSolid
Faces, and every edge used by exactly two coedges (IsManifoldSolid),
with no shell left open. Any number of shells: a box with a void is
a manifold solid of two shells.
Sheet
Faces in ONE shell, every edge lamina or manifold, at least one
lamina edge (IsSheet): an open shell or a lone face.
NonManifoldSolid
At least one spine edge, no wire edge (IsNonManifoldSolid): two
cells sharing a wall, a fin standing on a solid.
Mixed
Anything else with faces (IsMixedModel): a wire edge beside faces,
lamina edges spread over more than one shell, two shells that share
an edge once each.
Trait Implementations§
Source§impl Clone for TopologyKind
impl Clone for TopologyKind
impl Copy for TopologyKind
Source§impl Debug for TopologyKind
impl Debug for TopologyKind
Source§impl<'de> Deserialize<'de> for TopologyKind
impl<'de> Deserialize<'de> for TopologyKind
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
impl Eq for TopologyKind
Source§impl PartialEq for TopologyKind
impl PartialEq for TopologyKind
Source§impl Serialize for TopologyKind
impl Serialize for TopologyKind
impl StructuralPartialEq for TopologyKind
Auto Trait Implementations§
impl Freeze for TopologyKind
impl RefUnwindSafe for TopologyKind
impl Send for TopologyKind
impl Sync for TopologyKind
impl Unpin for TopologyKind
impl UnsafeUnpin for TopologyKind
impl UnwindSafe for TopologyKind
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.