Dump out the strong edges in Tecplot format into file <name>s1.plt.
180 ofstream os( buf.c_str());
181 for (vector<pair<float,Halfedge*> >::const_iterator it=tstrong_edges.begin();
182 it!=tstrong_edges.end(); ++it, ++
n) {
183 os <<
"GEOMETRY T=LINE3D C=GREEN"
184 <<
" LT=0.4" << endl << 1 << endl
185 << 2 <<
' ' << it->second->origin()->point()
186 <<
' ' << it->second->destination()->point()
190 if ( !tstrong_edges.empty())
191 std::cout <<
"\tStatistics: Theta-strong-edge angle: MAX ="
192 <<
acos(tstrong_edges.front().first)*
r2d
193 <<
" and MIN=" <<
acos(tstrong_edges.back().first)*
r2d
196 for (vector<pair<float,Halfedge*> >::const_iterator it=rstrong_edges.begin();
197 it!=rstrong_edges.end(); ++it, ++
n) {
198 os <<
"GEOMETRY T=LINE3D C=GREEN"
199 <<
" LT=0.1" << endl << 1 << endl
200 << 2 <<
' ' << it->second->origin()->point()
201 <<
' ' << it->second->destination()->point()
204 if ( !rstrong_edges.empty())
205 std::cout <<
" \tStatistics: r-strong-edge angle: MAX ="
206 <<
acos(rstrong_edges.front().first)*
r2d
207 <<
" and MIN=" <<
acos(rstrong_edges.back().first)*
r2d
std::string name() const
The name of the window.
CImg< _cimg_Tfloat > acos(const CImg< T > &instance)