Expand description
Column density along a straight track through the geometry, by ray casting the placed volumes.
The volumes crossed by a segment A -> B are found with a BVH over the world bounding boxes of all placements. For each of them, the path length inside it is calculated exactly (see raycast). Since a daughter volume replaces the material of its mother, the column density is
X = rho_world * L_world + sum_v (rho_v - rho_mother(v)) * L_v
with L_world the path length inside the world volume and L_v the one inside volume v. Lengths are in mm, densities in g/cm3 and column densities in g/cm2.
Structsยง
- Crossing
- The part of a track inside one placed volume
- Lazy
Raycaster - The raycaster of a geometry is built when it is first needed. It does not take part in comparisons.
- Raycaster
- Acceleration structures to cast rays through the placed volumes of a geometry
- Track
Path - The volumes along a straight track