Skip to main content

seeds

Function seeds 

Source
pub fn seeds(
    a: &SurfaceGeometry,
    b: &SurfaceGeometry,
    options: Marching,
    tol: Tolerances,
) -> OgeomResult<Vec<Contact>>
Expand description

Starting points on the intersection, one per branch found.

Polyhedral: both surfaces are sampled into triangles, the pairs that cross give approximate points, and each is corrected onto both surfaces exactly. Points that land on the same spot are merged, so a branch crossing many cells yields one seed rather than dozens.

ยงErrors

OgeomError::Construction if the settings are unusable.