odc.geo.math.Poly2d.fit

static Poly2d.fit(aa, bb)[source]

Fit 2d polynomial that minimizes poly(aa) - bb.

Where aa,``bb`` are point correspondences of Nx2 shape.

Return type:

Poly2d