Skip to main content

Module curve_surface

Module curve_surface 

Source
Expand description

Where a curve pierces a surface.

Two consumers drive it: where an edge crosses a face in the boolean, and the exact point-in-solid classifier, which is a ray/surface query per face.

§Well-posed

C(t) = S(u, v) is three equations in three unknowns; unlike the surface/surface system, nothing has to be pinned for Newton to converge to a point. The analytic cases are still answered in closed form first: a line against a plane or a quadric is a linear or quadratic equation, and solving a quadratic by iteration would be slower and less exact than writing down its roots.

§A curve lying in the surface

A line in a plane crosses it nowhere and everywhere. That is an overlap (the parameter range of the curve that lies in the surface), and it is a different answer from any list of points. Detected where the analytic forms can see it, and on the general path as a run of piercings between which the curve never leaves the surface.

Structs§

CurveSurfaceIntersection
What a curve does to a surface.
CurveSurfaceOptions
How hard the general path looks.
Piercing
One piercing of a surface by a curve.
PreparedSurface
A surface made ready for many curve queries.

Functions§

intersect_curve_surface
Where a curve pierces a surface.
touch_curve_surface
Where a curve touches a surface without crossing it, solved from seed on the curve: the touch, or None if there is none beside the seed.