Skip to main content

swept_disk_along_line_exact

Function swept_disk_along_line_exact 

Source
pub fn swept_disk_along_line_exact(
    start: Point3,
    end: Point3,
    radius: Scalar,
    inner_radius: Option<Scalar>,
    tolerance: Tolerance,
) -> GeomResult<ExactBRep>
Expand description

A disk of radius, with an optional bore of inner_radius, swept along the straight segment from start to end: an exact capped cylinder (#223).

ยงErrors

Invalid input for a non-positive radius, a bore not strictly inside the disk, and a segment shorter than the tolerance or not finite.