Function G2lib::build_guess_theta

Function Documentation

bool G2lib::build_guess_theta(int_type n, real_type const *x, real_type const *y, real_type *theta)

Given a list of points \( (x_i,y_i) \) build a guess of angles for a spline of biarc.

Parameters
  • n[in] number of points

  • x[in] x-coordinates

  • y[in] y-coordinates

  • theta[out] guessed angles