计算机图形学——梯形图算法——C++实现 This material will help you to understand trapezoidal map layout and search structure
to build
maketo run
./main"Trapezoid.txt" has input data. it looks like "n:point_left_x,point_left_y,point_right_x,point_right_y......" n is the number of points, the rest are sites. "Trapezoid.json" is the output.
- open "Trapezoid.html" in the browser
- draw lines
- copy the text just below to "Trapezoid.txt"
- run "main"
- upload "Trapezoid.json" to view the result
