alloy

Module geometry

source
Expand description

This module contains the model data structures and functions.

Structs§

  • Axis-aligned bounding box
  • Representation of a line in 3D space that continues infinitely in both directions.
  • A value type that represents a plane in 3D space with the equation: a*x + b*y + c*z + d = 0.
  • A point in 3D space.
  • A sphere in 3D space.

Traits§

  • A trait for objects that can be tested for enclosure.
  • A trait for objects that can be tested for intersection.