gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
DivideAndConquer.h File Reference
#include <vector>
#include <algorithm>
#include "SPoint2.h"
#include "simpleFunction.h"
#include "Octree.h"
#include "MElement.h"
Include dependency graph for DivideAndConquer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fullMatrix< scalar >
 
struct  DPoint
 
struct  PointRecord
 
struct  CDList
 
struct  STriangle
 
struct  DT
 
struct  Segment
 
struct  Triangle
 
class  DocRecord
 

Typedefs

typedef struct CDList DListRecord
 
typedef struct CDListDListPeek
 
typedef int PointNumero
 

Functions

void centroidOfOrientedBox (std::vector< SPoint2 > &pts, const double &angle, double &xc, double &yc, double &inertia, double &area)
 
void centroidOfPolygon (SPoint2 &pc, std::vector< SPoint2 > &pts, double &xc, double &yc, double &inertia, double &areaCell, simpleFunction< double > *bgm=nullptr)
 

Typedef Documentation

◆ DListPeek

typedef struct CDList * DListPeek

Definition at line 19 of file DivideAndConquer.h.

◆ DListRecord

typedef struct CDList DListRecord

Definition at line 1 of file DivideAndConquer.h.

◆ PointNumero

typedef int PointNumero

Definition at line 20 of file DivideAndConquer.h.

Function Documentation

◆ centroidOfOrientedBox()

void centroidOfOrientedBox ( std::vector< SPoint2 > &  pts,
const double &  angle,
double &  xc,
double &  yc,
double &  inertia,
double &  area 
)

Definition at line 690 of file DivideAndConquer.cpp.

Here is the call graph for this function:

◆ centroidOfPolygon()

void centroidOfPolygon ( SPoint2 pc,
std::vector< SPoint2 > &  pts,
double &  xc,
double &  yc,
double &  inertia,
double &  areaCell,
simpleFunction< double > *  bgm = nullptr 
)

Definition at line 717 of file DivideAndConquer.cpp.

Here is the call graph for this function: