10 void writeRotationData(std::vector<Poly> &acceptedPoly, std::vector<unsigned int> &finalFractures, std::vector<Shape> &shapeFamilies, std::string output);
11 void writeOutput(
char* outputFolder, std::vector<Poly> &acceptedPoly, std::vector<IntPoints> &intPts,
12 std::vector<Point> &triplePoints,
struct Stats &pstats,
13 std::vector<unsigned int> &finalFractures, std::vector<Shape> &shapeFamilies);
15 void writePoints(std::ostream &output, std::vector<Point> &points,
int start,
unsigned int &count);
19 inline void savePoints(std::stringstream &stream, std::vector<Point> &points,
20 int fract1,
int fract2,
int start);
21 void adjustIntFractIDs(std::vector<unsigned int> &finalFractures, std::vector<Poly> &allPolys,
22 std::vector<IntPoints> &intPts);
26 void rotateFractures(std::vector<unsigned int> &finalFractures, std::vector<Poly> &acceptedPoly);
28 void debugINP(std::vector<Poly> &allPolys,
Stats &pstats, std::string &outputFolder);
30 void finishWritingIntFile(std::ostream &fractIntFile,
int fract1,
int numPoints,
int numIntersections,
31 std::vector<unsigned int> &intStart, std::vector<unsigned int> &intersectingFractures);
35 std::vector<IntPoints> &intPts, std::vector<Point> &triplePoints, std::string intersectionFolder,
struct Stats &pstats);
36 void writePolysInp(std::vector<unsigned int> &finalFractures, std::vector<Poly> &acceptedPoly, std::string &output);
37 void writePolysInp_old(std::vector<unsigned int> &finalFractures, std::vector<Poly> &acceptedPoly, std::string &output);
38 void writeParamsFile(std::vector<unsigned int> &finalFractures, std::vector<Poly> &acceptedPoly, std::vector<Shape> &shapeFamilies,
Stats &pstats, std::vector<Point> &triplePoints, std::string &output);
39 void writeApertureFile(std::vector<unsigned int> &finalFractures, std::vector<Poly> &acceptedPoly, std::string &output);
40 void writePermFile(std::vector<unsigned int> &finalFractures, std::vector<Poly> &acceptedPoly, std::string &output);
41 void writeFinalPolyRadii(std::vector<unsigned int> &finalFractures, std::vector<Poly> &acceptedPoly, std::string &output);
44 void writeFinalRadii_OfFamily(std::vector<unsigned int> &finalFractures,
int familyNum, std::vector<Poly> &acceptedPoly, std::string &output);
45 void writeTriplePts(std::vector<Point> &triplePoints, std::vector<unsigned int> &finalFractures, std::vector<Poly> &acceptedPoly,
46 std::vector<IntPoints> &intPts, std::string &output);
48 void writeRadiiFile(std::vector<unsigned int> &finalFractures, std::vector<Poly> &acceptedPoly, std::string &output);
50 void writeShapeFams(std::vector<Shape> &shapeFamilies, std::string &output);
51 void writeFractureTranslations(std::vector<unsigned int> &finalFractures, std::vector<Poly> &acceptedPoly, std::string &output);
52 void writeConnectivity(std::vector<unsigned int> &finalFractures, std::vector<Poly> &acceptedPoly, std::vector<IntPoints> &intPts, std::string &output);
void writeAllAcceptedRadii_OfFamily(int familyNum, std::vector< Poly > &acceptedPoly, std::string &output)
void writePolysInp_old(std::vector< unsigned int > &finalFractures, std::vector< Poly > &acceptedPoly, std::string &output)
void savePoints(std::stringstream &stream, std::vector< Point > &points, int fract1, int fract2, int start)
void makeDIR(const char *dir)
void writeOutput(char *outputFolder, std::vector< Poly > &acceptedPoly, std::vector< IntPoints > &intPts, std::vector< Point > &triplePoints, struct Stats &pstats, std::vector< unsigned int > &finalFractures, std::vector< Shape > &shapeFamilies)
void adjustIntFractIDs(std::vector< unsigned int > &finalFractures, std::vector< Poly > &allPolys, std::vector< IntPoints > &intPts)
void finishWritingIntFile(std::ostream &fractIntFile, int fract1, int numPoints, int numIntersections, std::vector< unsigned int > &intStart, std::vector< unsigned int > &intersectingFractures)
void writeRotationData(std::vector< Poly > &acceptedPoly, std::vector< unsigned int > &finalFractures, std::vector< Shape > &shapeFamilies, std::string output)
void writeConnectivity(std::vector< unsigned int > &finalFractures, std::vector< Poly > &acceptedPoly, std::vector< IntPoints > &intPts, std::string &output)
void writeVertices(std::ostream &output, Poly &frac)
void writeIntersectionFiles(std::vector< unsigned int > &finalFractures, std::vector< Poly > &acceptedPoly, std::vector< IntPoints > &intPts, std::vector< Point > &triplePoints, std::string intersectionFolder, struct Stats &pstats)
void writeRejectionStats(Stats &pstats, std::string &output)
void writeParamsFile(std::vector< unsigned int > &finalFractures, std::vector< Poly > &acceptedPoly, std::vector< Shape > &shapeFamilies, Stats &pstats, std::vector< Point > &triplePoints, std::string &output)
void writeFinalRadii_OfFamily(std::vector< unsigned int > &finalFractures, int familyNum, std::vector< Poly > &acceptedPoly, std::string &output)
void writeRadiiFile(std::vector< unsigned int > &finalFractures, std::vector< Poly > &acceptedPoly, std::string &output)
void writeRadiiAcceptedFile()
bool DIR_exists(const char *path)
void writeFinalPolyRadii(std::vector< unsigned int > &finalFractures, std::vector< Poly > &acceptedPoly, std::string &output)
void rotateFractures(std::vector< unsigned int > &finalFractures, std::vector< Poly > &acceptedPoly)
void writeAllAcceptedRadii(std::vector< Poly > &acceptedPoly, std::string &output)
void writeTriplePts(std::vector< Point > &triplePoints, std::vector< unsigned int > &finalFractures, std::vector< Poly > &acceptedPoly, std::vector< IntPoints > &intPts, std::string &output)
void writeApertureFile(std::vector< unsigned int > &finalFractures, std::vector< Poly > &acceptedPoly, std::string &output)
void writePolysInp(std::vector< unsigned int > &finalFractures, std::vector< Poly > &acceptedPoly, std::string &output)
void writeRejectsPerAttempt(Stats &pstats, std::string &output)
void debugINP(std::vector< Poly > &allPolys, Stats &pstats, std::string &outputFolder)
void writePoints(std::ostream &output, std::vector< Point > &points, int start, unsigned int &count)
void writePermFile(std::vector< unsigned int > &finalFractures, std::vector< Poly > &acceptedPoly, std::string &output)
void writeFractureTranslations(std::vector< unsigned int > &finalFractures, std::vector< Poly > &acceptedPoly, std::string &output)
void writeShapeFams(std::vector< Shape > &shapeFamilies, std::string &output)