DFNgen  2.0
DFN Model Generator
insertUserRectsByCoord.cpp File Reference
#include <cmath>
#include <iostream>
#include "insertShape.h"
#include "vectorFunctions.h"
#include "mathFunctions.h"
#include "computationalGeometry.h"
#include "structures.h"
#include "input.h"
#include "domain.h"
Include dependency graph for insertUserRectsByCoord.cpp:

Go to the source code of this file.

Functions

void insertUserRectsByCoord (std::vector< Poly > &acceptedPoly, std::vector< IntPoints > &intpts, struct Stats &pstats, std::vector< Point > &triplePoints)
 

Function Documentation

§ insertUserRectsByCoord()

void insertUserRectsByCoord ( std::vector< Poly > &  acceptedPoly,
std::vector< IntPoints > &  intpts,
struct Stats pstats,
std::vector< Point > &  triplePoints 
)

Inserts user rectangles using defined coordinates provided by the user (see input file). Intersection checking, FRAM, and rejection/accptance are all contained within this function. Arg 1: Array for all accepted polygons Arg 2: Array for all accepted intersections Arg 3: Program statistics structure Arg 4: Array of all triple intersection points

Definition at line 21 of file insertUserRectsByCoord.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: