MeshKit  1.0
planeProj.cpp File Reference
#include <iostream>
#include "meshkit/AF2PlaneProjection.hpp"
#include "meshkit/AF2Point2D.hpp"
#include "meshkit/AF2Point3D.hpp"
#include "meshkit/MKCore.hpp"
#include "meshkit/ModelEnt.hpp"
#include "meshkit/Matrix.hpp"
#include "TestUtil.hpp"
Include dependency graph for planeProj.cpp:

Go to the source code of this file.

Defines

#define FILE_EXT   "facet"

Functions

void test_plane_projection ()
bool testPlaneProj ()
int main (int argc, char **argv)

Variables

double epsError = 1.e-3
MKCoremk = NULL

Detailed Description

Test:

Test the plane projection.

Loads a geometry file representing a piece of a torus, and tests that points are correctly projected from the torus onto various planes and back from the plane onto the piece of the torus.

Definition in file planeProj.cpp.


Define Documentation

#define FILE_EXT   "facet"

Definition at line 28 of file planeProj.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 37 of file planeProj.cpp.

Definition at line 49 of file planeProj.cpp.

bool testPlaneProj ( )

Definition at line 54 of file planeProj.cpp.


Variable Documentation

double epsError = 1.e-3

Definition at line 29 of file planeProj.cpp.

MKCore* mk = NULL

Definition at line 32 of file planeProj.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines