#include "PreCompiled.h"
#include <algorithm>
#include <utility>
#include <queue>
#include <Mod/Mesh/App/WildMagic4/Wm4MeshCurvature.h>
#include <Mod/Mesh/App/WildMagic4/Wm4Vector3.h>
#include "TopoAlgorithm.h"
#include "Iterator.h"
#include "MeshKernel.h"
#include "Algorithm.h"
#include "Evaluation.h"
#include "Triangulation.h"
#include <Base/Console.h>
Go to the source code of this file.
Typedefs | |
typedef std::pair< unsigned long, int > | FaceEdge |
typedef std::pair< float, FaceEdge > | FaceEdgePriority |
Functions | |
static float | cos_maxangle (const Base::Vector3f &v1, const Base::Vector3f &v2, const Base::Vector3f &v3) |
static float | swap_benefit (const Base::Vector3f &v1, const Base::Vector3f &v2, const Base::Vector3f &v3, const Base::Vector3f &v4) |
typedef std::pair<unsigned long,int> FaceEdge |
Definition at line 293 of file TopoAlgorithm.cpp.
typedef std::pair<float, FaceEdge> FaceEdgePriority |
Definition at line 294 of file TopoAlgorithm.cpp.
static float cos_maxangle | ( | const Base::Vector3f & | v1, | |
const Base::Vector3f & | v2, | |||
const Base::Vector3f & | v3 | |||
) | [static] |
Definition at line 240 of file TopoAlgorithm.cpp.
References FemExample::b, and Sketcher::Distance.
Referenced by swap_benefit().
static float swap_benefit | ( | const Base::Vector3f & | v1, | |
const Base::Vector3f & | v2, | |||
const Base::Vector3f & | v3, | |||
const Base::Vector3f & | v4 | |||
) | [static] |
Definition at line 253 of file TopoAlgorithm.cpp.
References cos_maxangle(), and SketcherExample::f.
Referenced by MeshCore::MeshTopoAlgorithm::SwapEdgeBenefit().