BREP_kernel 0.15.0

A boundary representation (BREP) geometry kernel for building CAD applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Compile away diagnostic scopes in ordinary builds, including the allocator hook.
pub(crate) const FIT: usize = 1;
pub(crate) const POINT: usize = 2;
pub(crate) const SEEDED: usize = 3;
pub(crate) const LOOKUP: usize = 4;
pub(crate) const MARCH: usize = 6;
pub(crate) const CLASSIFY: usize = 7;
pub(crate) struct Scope;
impl Scope {
    #[inline(always)]
    pub(crate) fn enter(_: usize) -> Option<Self> { None }
}
pub(crate) struct Stage;
impl Stage {
    #[inline(always)]
    pub(crate) fn open(_: &'static str) -> Option<Self> { None }
}