Expand description
Three-dimensional surfaces: Surface, Point3D and their traits.
This module provides tools for working with 3D surfaces.
It includes functionalities for defining surfaces, performing operations on them, and visualizing them. The core components are:
Surface: Represents a 3D surface. See thesurfacemodule for more details.Point3D: Represents a point in 3D space. See thetypesmodule for more details.utils(test-only): planar, constant and paraboloid surface fixtures for the unit tests.- Plotting lives in
optionstratlib-visualization(Plottableand theGraphimpl forSurface); this module keeps only the geometry.
Structs§
- Point3D
- Represents a point in three-dimensional space with
x,yandzcoordinates. - Surface
- Represents a mathematical surface in 3D space.
Traits§
- Surfacable
- A trait for objects that can generate a mathematical surface in 3D space.