MeshKit
1.0
|
#include <cstddef>
#include <iostream>
#include <string>
#include <vector>
#include "meshkit/AF2DfltTriangleRules.hpp"
#include "meshkit/AF2Edge3D.hpp"
#include "meshkit/AF2Neighborhood.hpp"
#include "meshkit/AF2PlaneProjection.hpp"
#include "meshkit/AF2Point3D.hpp"
#include "meshkit/AF2Rule.hpp"
#include "meshkit/AF2RuleAppVisitor.hpp"
#include "meshkit/MKCore.hpp"
#include "meshkit/ModelEnt.hpp"
#include "meshkit/Matrix.hpp"
#include "TestUtil.hpp"
Go to the source code of this file.
Classes | |
class | SaveLastVisitor |
Defines | |
#define | FILE_EXT "facet" |
Functions | |
const AF2Rule * | findRule (const AF2DfltTriangleRules &ruleSet, const std::string &ruleName) |
AF2LocalTransform * | makePlaneProj () |
void | test180DegreeRuleQ1 () |
void | test180DegreeRuleQ5 () |
void | test180DegreeRuleQ10 () |
void | test180DegreeRuleQ20 () |
void | test60DegreeAngleRightRule () |
void | test60DegreeAngleLeftRule () |
void | test120DegreeAngleRightRule () |
void | test120DegreeAngleLeftRule () |
void | test120DegreeAngleBothRule () |
void | testFillTriangleRule () |
void | testConnectVertexRule () |
void | testConnectEdgeRule () |
int | main (int argc, char **argv) |
Variables | |
MeshKit::ModelEnt * | square = NULL |
Test the default set of triangle rules for two-dimensional advancing front.
Attempts to apply each rule in the default set of triangle rules to its reference case, testing that it can be applied in that case.
This test is a bit non-standard in that it depends on knowledge of the implementation details rather than merely the API of AF2DfltTriangleRules. The purpose, though, is to make sure that the implementation details match expectations.
Definition in file dfltTriRules.cpp.
#define FILE_EXT "facet" |
Definition at line 40 of file dfltTriRules.cpp.
const AF2Rule * findRule | ( | const AF2DfltTriangleRules & | ruleSet, |
const std::string & | ruleName | ||
) |
Definition at line 142 of file dfltTriRules.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 106 of file dfltTriRules.cpp.
Definition at line 159 of file dfltTriRules.cpp.
void test120DegreeAngleBothRule | ( | ) |
Definition at line 1034 of file dfltTriRules.cpp.
void test120DegreeAngleLeftRule | ( | ) |
Definition at line 913 of file dfltTriRules.cpp.
void test120DegreeAngleRightRule | ( | ) |
Definition at line 792 of file dfltTriRules.cpp.
void test180DegreeRuleQ1 | ( | ) |
Definition at line 178 of file dfltTriRules.cpp.
void test180DegreeRuleQ10 | ( | ) |
Definition at line 398 of file dfltTriRules.cpp.
void test180DegreeRuleQ20 | ( | ) |
Definition at line 502 of file dfltTriRules.cpp.
void test180DegreeRuleQ5 | ( | ) |
Definition at line 294 of file dfltTriRules.cpp.
void test60DegreeAngleLeftRule | ( | ) |
Definition at line 699 of file dfltTriRules.cpp.
void test60DegreeAngleRightRule | ( | ) |
Definition at line 606 of file dfltTriRules.cpp.
void testConnectEdgeRule | ( | ) |
Definition at line 1331 of file dfltTriRules.cpp.
void testConnectVertexRule | ( | ) |
Definition at line 1209 of file dfltTriRules.cpp.
void testFillTriangleRule | ( | ) |
Definition at line 1144 of file dfltTriRules.cpp.
MeshKit::ModelEnt* square = NULL |
Definition at line 104 of file dfltTriRules.cpp.