Pipe.volume
- Pipe.volume()
Compute the volume of the swept disk solid.
V = pi * r^2 * Lfor solid pipes, orV = pi * (r^2 - r_inner^2) * Lfor hollow pipes,where L is the total arc length of the directrix.
Note
Exact for straight directrix segments. For curved paths this is an approximation that is accurate when the curvature radius is much larger than the pipe radius.
- Returns:
- float