pub enum TessellationType {
ChordTol,
MaxFacetWidth,
}Expand description
Tessellation strategy (Supported only for Parasolid models)
ChordTol controls curve tolerance by specifying the maximum allowable distance between a true curved edge
and the straight-line chords (facet edges) used to approximate it.
The MaxFacetWidth strategy uses a maximum facet width to control the maximum size of the facets, which can be more intuitive in some cases.
When using MaxFacetWidth, the maxFacetWidth parameter controls the maximum width of the facets.
Variants§
Trait Implementations§
Source§impl Clone for TessellationType
impl Clone for TessellationType
impl Copy for TessellationType
Source§impl Debug for TessellationType
impl Debug for TessellationType
Source§impl<'de> Deserialize<'de> for TessellationType
impl<'de> Deserialize<'de> for TessellationType
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 TessellationType
Source§impl PartialEq for TessellationType
impl PartialEq for TessellationType
Source§impl Serialize for TessellationType
impl Serialize for TessellationType
impl StructuralPartialEq for TessellationType
Auto Trait Implementations§
impl Forget for TessellationType
impl Freeze for TessellationType
impl RefUnwindSafe for TessellationType
impl Send for TessellationType
impl Sync for TessellationType
impl Unpin for TessellationType
impl UnsafeUnpin for TessellationType
impl UnwindSafe for TessellationType
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