Skip to main content

Module midpoints

Module midpoints 

Source
Expand description

Curves and surfaces in f64: every control point, weight and knot at the middle of its enclosure. For the work whose answer is a free choice or a measurement in f64 — where to sample, a seed for a search, how far a point lies off a surface — many times cheaper than evaluating the enclosures, and off them only by roundings. The kernel itself stays in intervals: these serve the importer only, never an answer the kernel relies on (see Scalar::sharpen).

Structs§

CurveMidpoints
A curve’s midpoints in f64: its control points, weights and knots each at the middle of its enclosure. For searches whose answer is a free choice — which parameter to measure a gap at, where to sample — many times cheaper than evaluating the enclosure, and off it only by roundings.
SurfaceMidpoints
A surface’s midpoints in f64 (see CurveMidpoints): for the searches on a surface whose answer is a free choice or a measurement in f64 — a seed for a projection, how far a point lies off the surface, where to draw it.