optionstratlib_math/surfaces/mod.rs
1//! This module provides tools for working with 3D surfaces.
2//!
3//! It includes functionalities for defining surfaces, performing operations on them,
4//! and visualizing them. The core components are:
5//!
6//! * `Surface`: Represents a 3D surface. See the `surface` module for more details.
7//! * `Point3D`: Represents a point in 3D space. See the `types` module for more details.
8//! * `utils` (test-only): planar, constant and paraboloid surface fixtures for the unit tests.
9//! * Plotting lives in `optionstratlib-visualization` (`Plottable` and the `Graph` impl for `Surface`);
10//! this module keeps only the geometry.
11//!
12
13mod surface;
14mod traits;
15mod types;
16// Test fixtures: nothing outside the unit tests builds these surfaces, and
17// their unchecked grid arithmetic has no place in the library (#788).
18#[cfg(test)]
19mod utils;
20
21pub use surface::Surface;
22pub use traits::Surfacable;
23pub use types::Point3D;