Skip to main content

Module intersection

Module intersection 

Source

Re-exports§

pub use curve_curve::refine_crossing as refine_curve_curve_crossing;
pub use curve_curve::curve_curve_intersect;
pub use curve_curve::curve_curve_overlaps_and_crossings;
pub use curve_surface::crossing_points;
pub use curve_surface::curve_surface_crossings;
pub use curve_surface::curve_surface_intersect;
pub use curve_surface::curve_surface_overlaps;
pub use curve_surface::refine_crossing;

Modules§

branch
The branch where two surfaces meet, followed from point to point: a corrector that brings a predicted point onto both surfaces at once (predictor_corrector_step), and a curve fitted through points of a branch that encloses the branch between them too (fit_branch).
curve_curve
Curve–curve intersection by per-axis fat line clipping — the design is curve_curve.md next to this file; it reuses the clip of contains/curve.md and the search schedule of contains/surface.md.
curve_surface
Curve–surface intersection by per-axis fat line clipping — the design is curve_surface.md next to this file; it is curve_curve with one more parameter.
surface_surface
Where to look for the closed loops two surfaces meet in: points of S_a(u_a, v_a) = S_b(u_b, v_b) at which the curve they meet in turns back along a direction d (turning_points).

Structs§

Hit
A point of the primary curve at parameter t that lies on the other object at partner (its parameter(s) there).
Overlap
A stretch [start.t, end.t] of the primary curve lying on the other object.

Enums§

Intersections
Result of a subdivision-based intersection search: either the finite set of distinct solutions, or a signal that the two shapes coincide/overlap over a shared region rather than meeting at finitely many isolated points.