MeshKit  1.0
dfltTriRules.cpp File Reference
#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"
Include dependency graph for dfltTriRules.cpp:

Go to the source code of this file.

Classes

class  SaveLastVisitor

Defines

#define FILE_EXT   "facet"

Functions

const AF2RulefindRule (const AF2DfltTriangleRules &ruleSet, const std::string &ruleName)
AF2LocalTransformmakePlaneProj ()
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::ModelEntsquare = NULL

Detailed Description

Test:

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 Documentation

#define FILE_EXT   "facet"

Definition at line 40 of file dfltTriRules.cpp.


Function Documentation

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.

Definition at line 1034 of file dfltTriRules.cpp.

Definition at line 913 of file dfltTriRules.cpp.

Definition at line 792 of file dfltTriRules.cpp.

Definition at line 178 of file dfltTriRules.cpp.

Definition at line 398 of file dfltTriRules.cpp.

Definition at line 502 of file dfltTriRules.cpp.

Definition at line 294 of file dfltTriRules.cpp.

Definition at line 699 of file dfltTriRules.cpp.

Definition at line 606 of file dfltTriRules.cpp.

Definition at line 1331 of file dfltTriRules.cpp.

Definition at line 1209 of file dfltTriRules.cpp.

Definition at line 1144 of file dfltTriRules.cpp.


Variable Documentation

Definition at line 104 of file dfltTriRules.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines