1
0
Fork 0

Remove support for a "minimum triangle angle" quality constraint when

triangulating a tile.  A better strategy is to have better input that doesn't
need to hide behind this trick.
This commit is contained in:
curt 2003-08-19 02:32:11 +00:00
parent eb3a3a4fa2
commit f5f961b8c0

View file

@ -43,6 +43,7 @@
#include <Geometry/trinodes.hxx>
#include <Geometry/trisegs.hxx>
#include <Polygon/names.hxx>
#include <Clipper/clipper.hxx>
#include <Triangulate/trieles.hxx>
@ -59,9 +60,6 @@ class TGConstruct {
private:
// minimum interior angle for triangulation
string angle;
// path to land-cover file (if any)
string cover;
@ -120,10 +118,6 @@ public:
// Destructor
~TGConstruct();
// minimum interior angle for triangulation
inline string get_angle() const { return angle; }
inline void set_angle( const string &s ) { angle = s; }
// land cover file
inline string get_cover () const { return cover; }
inline void set_cover (const string &s) { cover = s; }
@ -164,6 +158,9 @@ public:
// triangle elements (after triangulation)
inline triele_list get_tri_elements() const { return tri_elements; }
inline void set_tri_elements( triele_list e ) { tri_elements = e; }
inline void set_tri_attribute( int num, AreaType a ) {
tri_elements[num].set_attribute( a );
}
// edge segments (after triangulation)
inline TGTriSegments get_tri_segs() const { return tri_segs; }