#include "euler.h"
#include "print.h"
#include <fstream>
Go to the source code of this file.
Functions | |
| int | main () |
Definition in file test-cylinder-2.cc.
|
|
Definition at line 28 of file test-cylinder-2.cc. References euler::loop_t::del_single_vertex_edge_pair(), euler::loop_t::e, euler::solid_t::f, euler::face_t::l, euler::loop_t::mev(), euler::solid_t::print_off_file(), and euler::solid_t::rsweep_wire(). 00029 { 00030 solid_t *s = solid_t::mvfs( point_t(0.f, 0.5f, 0.f) ); 00031 loop_t *l = s->f->l; 00032 l->mev( l->e, point_t(1.f, 0.5f, 0.f) ); 00033 l->del_single_vertex_edge_pair(); 00034 00035 cout << s << endl; 00036 00037 s->rsweep_wire(l); 00038 00039 cout << s << endl << endl; 00040 ofstream os("test-cylinder-2.off", ios::out); 00041 00042 s->print_off_file(os); 00043 00044 return 0; 00045 }
|
1.4.6