Module calculations_3d

Module calculations_3d 

Source
Expand description

3D geometric calculations for convex hull operations

This module provides utility functions for 3D geometric computations commonly used in convex hull algorithms.

Functionsยง

compute_polyhedron_surface_area
Compute the surface area of a 3D polyhedron
compute_polyhedron_volume
Compute the volume of a 3D polyhedron using triangulation from centroid
cross_product_3d
Compute cross product of two 3D vectors
dot_product_3d
Compute dot product of two 3D vectors
normalize_3d
Normalize a 3D vector
tetrahedron_volume
Compute the signed volume of a tetrahedron
triangle_area_3d
Compute the area of a 3D triangle
vector_magnitude_3d
Compute the magnitude of a 3D vector