很高兴在雪易的CSDN遇见你
VTK技术爱好者 QQ:870202403
前言
本文分享VTK样例IterateOverLine,讲解如何遍历线,希望对各位小伙伴有所帮助!
感谢各位小伙伴的点赞+关注,小易会继续努力分享,一起进步!
你的点赞就是我的动力(^U^)ノ~YO
1. IterateOverLine
There are 4 lines.
Line has 2 points.
0 1
Line has 2 points.
1 2
Line has 2 points.
2 3
Line has 2 points.
3 4
该样例阐述如何遍历线段,点和Cell也是同样的遍历方法。
double origin[3] = { 0.0, 0.0, 0.0 };
double p0[3] = { 1.0, 0.0, 0.0 };
double p