Path: blob/devel/meshgen2d/src/include/SSVoronoiSegment.h
3203 views
#ifndef SSVORONOISEGMENT_H1#define SSVORONOISEGMENT_H23#include "Connect.h"4#include "PQ.h"56class SSVoronoiSegment : public Connect7{8public:9SSVoronoiSegment( const int t ) : Connect(t) { }10SSVoronoiSegment( const int t, BGMesh *bgMesh ) :11Connect(t, bgMesh) { }1213void makeExplicitSeed( const int t1, const int t2, const int t3 )14{15explicitSeed = true;16seedTags[0] = t1;17seedTags[1] = t2;18seedTags[2] = t3;19}2021void makeImplicitSeed( GeometryEdge *ed, int dir )22{23explicitSeed = false;24baseEdge = ed;25baseDirection = dir;26}2728protected:29pq actives;3031bool explicitSeed;32int seedTags[3];33MeshNode *seed[3];34int baseDirection;35GeometryEdge *baseEdge;36};3738#endif394041