surface_poly_fit.core.MongeJetFitter.fit_all¶
- MongeJetFitter.fit_all(self: surface_poly_fit._spf_cgal.MongeJetFitter, num_rings: int = 1, fit_basis_type: surface_poly_fit._spf_cgal.MongeJetFitter.FittingBasisType = <FittingBasisType.VERTEX_NORMAL: 1>) object ¶
Fits a polynomial surface to the neigbourhoods of all vertices.
- Parameters:
num_rings (
int
) – Size the neighbourhood. Vertices withinnum_rings
edge-hops of thevertex_index
vertex are used in the polynomial-surface fitting.fit_basis_type (
MongeJetFitter.FittingBasisType
) – This specifies the method used to calculate the \(z\) direction of the fitting coordinate system. See FittingBasisType Descriptions.
- Return type:
- Returns:
A
(N,)
shaped structured array containing fitting results. See Fitting Result Array Field Definitions.