DFNgen  2.0
DFN Model Generator
insertUserRects.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 "testing.h"
Include dependency graph for insertUserRects.cpp:

Go to the source code of this file.

Functions

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

Function Documentation

§ insertUserRects()

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

Inserts a user defined rectangle into the domain Intersection checking, FRAM, and rejection/accptance is 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 22 of file insertUserRects.cpp.

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