Divide intersection edges from their neighbours' parameters (#1038) (#1412)

Thanks @jijinbei.
This commit is contained in:
JIJINBEI authored and GitHub committed 2026-10-16 00:27:55 -04:00
1 parent 42d4ebeb16
commit 3333f8a62b
34 files changed
+10368 -7

No files matched your search

+52
View File
@@ -0,0 +1,52 @@
//! Geometrical structs: knot vector, B-spline and NURBS
#![cfg_attr(not(debug_assertions), deny(warnings))]
#![deny(clippy::all, rust_2018_idioms)]
#![warn(
missing_docs,
missing_debug_implementations,
trivial_casts,
trivial_numeric_casts,
unsafe_code,
unstable_features,
unused_import_braces,
unused_qualifications
)]
use serde::{Deserialize, Serialize};
use std::{fmt::Debug, ops::Bound};
use truck_base::bounding_box::Bounded;
const INCLUDE_CURVE_TRIALS: usize = 100;
const PRESEARCH_DIVISION: usize = 50;
/// re-export `truck_base`
pub mod base {
pub use truck_base::bounding_box::BoundingBox;
pub use truck_base::cgmath64::*;
pub use truck_base::tolerance::*;
pub use truck_base::{assert_near, assert_near2};
pub use truck_base::{hash, hash::HashGen};
pub use truck_geotrait::*;
}
/// Declares the nurbs
pub mod nurbs;
/// Enumerats `Error`.
pub mod errors;
/// Declares the specified gememetric items: Plane, Sphere, and so on.
pub mod specifieds;
/// Declares some decorators
pub mod decorators;
/// re-export all modules.
pub mod prelude {
use crate::*;
pub use base::*;
pub use decorators::*;
pub use errors::*;
pub use nurbs::*;
pub use specifieds::*;
}