Skip to main content

ParametricCoefficients

ParametricCoefficients

Result structure for parametric polynomial fitting. More…

#include <parametric_polynomial_utils.hpp>

Public Attributes

Name
std::vector< double > x_coeffs
Polynomial coefficients for x(t).
std::vector< double > y_coeffs
Polynomial coefficients for y(t).
bool success
Whether the fitting was successful.

Detailed Description

struct ParametricCoefficients;

Result structure for parametric polynomial fitting.

Holds the polynomial coefficients for both x(t) and y(t) parametric curves, where t is the normalized arc-length parameter in [0, 1].

Public Attributes Documentation

variable x_coeffs

std::vector< double > x_coeffs;

Polynomial coefficients for x(t).

variable y_coeffs

std::vector< double > y_coeffs;

Polynomial coefficients for y(t).

variable success

bool success = false;

Whether the fitting was successful.


Updated on 2026-11-13 at 20:25:39 +0000