pub struct BrepSolid {
pub id: u64,
pub vertices: Vec<VertexRecord>,
pub edges: Vec<EdgeRecord>,
pub shells: Vec<ShellRecord>,
pub genus: i64,
}Fields§
§id: u64§vertices: Vec<VertexRecord>§edges: Vec<EdgeRecord>§shells: Vec<ShellRecord>§genus: i64Implementations§
Source§impl BrepSolid
impl BrepSolid
pub fn validate(&self) -> Vec<ValidationIssue>
pub fn validate_with_tolerances( &self, tolerances: &KernelTolerances, ) -> Vec<ValidationIssue>
pub fn validate_detailed( &self, tolerances: &KernelTolerances, ) -> ValidationReport
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BrepSolid
impl<'de> Deserialize<'de> for BrepSolid
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 !RefUnwindSafe for BrepSolid
impl !Sync for BrepSolid
impl Freeze for BrepSolid
impl Send for BrepSolid
impl Unpin for BrepSolid
impl UnsafeUnpin for BrepSolid
impl UnwindSafe for BrepSolid
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