1

Topic: Connection of points by a spline

There is an array of points in 2D x, y. It is necessary to connect them vertical/horizontal lines the connection order it is underlined element order in an array what algorithms on this subject are? It is probably possible to use algorithms for connection by a spline and "" contrary flexure points?

2

Re: Connection of points by a spline

Hello, okon, you wrote: O> There is an array of points in 2D x, y. It is necessary to connect them vertical/horizontal lines the connection order it is underlined element order in an array what algorithms on this subject are? O> it is probably possible to use algorithms for connection by a spline and "" contrary flexure points? void connect_hv (int n, double *x, double *y) {for (int i=1; i <n; i ++) {line (x [i-1], y [i-1], x [i], y [i-1]); line (x [i], y [i-1], x [i], y [i]);}}