#include <stdexcept>
#include "GmshMessage.h"
#include "DivideAndConquer.h"
#include "Numeric.h"
#include "fullMatrix.h"
#include "robustPredicates.h"
#include "BackgroundMeshTools.h"
#include "OS.h"
#include "GPoint.h"
#include "GFace.h"
#include "MLine.h"
Go to the source code of this file.
|
#define | Pred(x) ((x)->prev) |
|
#define | Succ(x) ((x)->next) |
|
|
static int | comparePoints (const void *i, const void *j) |
|
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) |
|
◆ Pred
#define Pred |
( |
|
x | ) |
((x)->prev) |
◆ Succ
#define Succ |
( |
|
x | ) |
((x)->next) |
◆ centroidOfOrientedBox()
void centroidOfOrientedBox |
( |
std::vector< SPoint2 > & |
pts, |
|
|
const double & |
angle, |
|
|
double & |
xc, |
|
|
double & |
yc, |
|
|
double & |
inertia, |
|
|
double & |
area |
|
) |
| |
◆ centroidOfPolygon()
void centroidOfPolygon |
( |
SPoint2 & |
pc, |
|
|
std::vector< SPoint2 > & |
pts, |
|
|
double & |
xc, |
|
|
double & |
yc, |
|
|
double & |
inertia, |
|
|
double & |
areaCell, |
|
|
simpleFunction< double > * |
bgm |
|
) |
| |
◆ comparePoints()
static int comparePoints |
( |
const void * |
i, |
|
|
const void * |
j |
|
) |
| |
|
static |