1 #ifndef SSVORONOISEGMENT_H 2 #define SSVORONOISEGMENT_H 3 4 #include "Connect.h" 5 #include "PQ.h" 6 7 class SSVoronoiSegment : public Connect 8 { 9 public: SSVoronoiSegment(const int t)10 SSVoronoiSegment( const int t ) : Connect(t) { } SSVoronoiSegment(const int t,BGMesh * bgMesh)11 SSVoronoiSegment( const int t, BGMesh *bgMesh ) : 12 Connect(t, bgMesh) { } 13 makeExplicitSeed(const int t1,const int t2,const int t3)14 void makeExplicitSeed( const int t1, const int t2, const int t3 ) 15 { 16 explicitSeed = true; 17 seedTags[0] = t1; 18 seedTags[1] = t2; 19 seedTags[2] = t3; 20 } 21 makeImplicitSeed(GeometryEdge * ed,int dir)22 void makeImplicitSeed( GeometryEdge *ed, int dir ) 23 { 24 explicitSeed = false; 25 baseEdge = ed; 26 baseDirection = dir; 27 } 28 29 protected: 30 pq actives; 31 32 bool explicitSeed; 33 int seedTags[3]; 34 MeshNode *seed[3]; 35 int baseDirection; 36 GeometryEdge *baseEdge; 37 }; 38 39 #endif 40