Skip to main content

Module surfaces

Module surfaces 

Source
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 the surface module for more details.
  • Point3D: Represents a point in 3D space. See the types module for more details.
  • utils (test-only): planar, constant and paraboloid surface fixtures for the unit tests.
  • Plotting lives in optionstratlib-visualization (Plottable and the Graph impl for Surface); this module keeps only the geometry.

Structs§

Point3D
Represents a point in three-dimensional space with x, y and z coordinates.
Surface
Represents a mathematical surface in 3D space.

Traits§

Surfacable
A trait for objects that can generate a mathematical surface in 3D space.