|
Index
C++ Code Documentation
triang::Triangulator
Derived from: triang::Parser
, triang::Triangle
File: GEOM/triang/Triangulator.H
public:
- typedef geom::Real Real;
- Triangulator();
 | void constructor | |
- virtual ~Triangulator();
 | destructor | |
- void read( char const *filename );
 | read configuration from file | |
- void read( io::Istream & );
 | read configuration from stream | |
- void read_string( char const *s );
 | read configuration from char * | |
- void read_string( base::String const &s );
 | read configuration from base::Stringg | |
- uint smooth() const;
 | get the smoothing iteration number | |
- Real max_area() const;
- Real min_angle() const;
- uint refine() const;
- Real max_area2() const;
- Real curvature_exp() const;
- Real curvature_cut() const;
- inline void get_boundary( base::vector<base::String> &v );
- void triangulate( geom::Surface *surface ) throw ( base::Exception );
 | triangulate without area constraint | |
- void triangulate( geom::Surface *surface, base::vector< Real> const &area ) throw ( base::Exception );
 | triangulate with area constraint | |
protected:
private:
- void initialize();
- static void copy( base::vector<geom::Vertex2> &b, base::vector< std::pair<Real,Real> > const &a );
- void set_data();
- typedef std::pair<uint,uint> uint_pair;
- void corners( std::list<std::list<uint> > &corner, base::vector<Curve> const &boundary );
- Data _data;
 | triangulation input data | |
- uint _smooth;
- uint _refine;
- Real _max_area2;
- Real _curvature_cut;
- Real _curvature_exp;
- base::vector<base::String> _boundary_str;
 | vector of strings describing boundary | |
- base::vector<std::pair< Real,Real> > _vertex_v;
 | points | |
- base::vector<Curve> _vertex_v_v;
 | points | |
- base::vector<std::pair< Real,Real> > _hole_v;
 | holes | |
- base::vector<base::vector<uint> > _face_v;
 | faces | |
- Triangulator( Triangulator const & );
 | disabled copy constructor | |
- Triangulator &operator=( Triangulator const & );
 | disabled assignment operator | |
|