Skip to main content

Module project

Module project 

Source
Expand description

The nearest point on a surface.

A foot point is where the displacement from the surface to a target is perpendicular to both tangents. It is found by Newton from a seed, and the seed is what decides which foot: a closed form, a branch and bound over a B-spline patch’s spans, a grid over any other surface, a stored copy of either for many targets, or a caller’s own guess.

Structs§

SurfaceProjection
Where a point projects onto a surface.
SurfaceSeeds
A surface’s seeding structure, built once and asked many times.

Functions§

project_on_surface
The nearest point on a surface to target.
project_on_surface_from
The nearest point on a surface to target, starting from a guess.