31 void removeFractures(
double minSize, std::vector<Poly> &acceptedPolys, std::vector<IntPoints> &intPts, std::vector<Point> triplePoints,
Stats &pstats) {
33 std::vector<Poly> finalPolyList;
47 for (
unsigned int i = 0; i < acceptedPolys.size(); i++) {
49 if (acceptedPolys[i].xradius < minSize) {
50 delete[] acceptedPolys[i].vertices;
54 Poly newPoly = acceptedPolys[i];
64 if (rejectCode == 0) {
67 finalPolyList.push_back(newPoly);
72 std::cout <<
"\nError rebuilding dfn, previously accepted fracture was rejected during DFN rebuild.\n";
76 std::cout <<
"Rebuilding DFN complete.\n";
78 acceptedPolys.clear();
79 acceptedPolys = finalPolyList;
std::vector< struct FractureGroups > fractGroup
std::vector< struct GroupData > groupData
unsigned long long int nextGroupNum
std::vector< unsigned int > intersectionIndex
void removeFractures(double minSize, std::vector< Poly > &acceptedPolys, std::vector< IntPoints > &intPts, std::vector< Point > triplePoints, Stats &pstats)
int intersectionChecking(struct Poly &newPoly, std::vector< Poly > &acceptedPoly, std::vector< IntPoints > &intPtsList, struct Stats &pstats, std::vector< Point > &triplePoints)