UniGridApprox Class Reference

#include <UniGridApprox.h>

Inheritance diagram for UniGridApprox:
Routines

List of all members.

Public Member Functions

bool BuildSurf ()
double CompGridError ()
bool CompKnots (int m, int n)
double CompMeshError ()
bool MatComp (int m, int n)
bool MeshOffset ()
bool Perform (double TOL)
bool SurfMeshParam ()
 UniGridApprox (const MeshCore::MeshKernel &InputMesh, double Tol)
bool WriteMatrix (ublas::matrix< double > M)
 ~UniGridApprox ()

Public Attributes

GeomAdaptor_Surface aAdaptorSurface
ublas::matrix< double > CPx
ublas::matrix< double > CPy
ublas::matrix< double > CPz
std::vector< double > m_err
TopoDS_Face m_Face
std::vector< std::vector
< Base::Vector3f > > 
m_Grid
std::vector< std::vector
< Base::Vector3f > > 
m_GridCopy
MeshCore::MeshKernel m_Mesh
double m_offset
double m_Tol
int m_udeg
std::vector< double > m_uknots
int m_um
std::vector< double > m_uParam
int m_vdeg
std::vector< double > m_vknots
int m_vm
std::vector< double > m_vParam
std::vector< std::vector
< double > > 
mG_err
int n_x
int n_y
ublas::matrix< double > Q
int uCP
int vCP

Detailed Description

Definition at line 36 of file UniGridApprox.h.


Constructor & Destructor Documentation

UniGridApprox::UniGridApprox ( const MeshCore::MeshKernel InputMesh,
double  Tol 
)

Definition at line 52 of file UniGridApprox.cpp.

UniGridApprox::~UniGridApprox (  ) 

Definition at line 57 of file UniGridApprox.cpp.


Member Function Documentation

bool UniGridApprox::BuildSurf (  ) 

Definition at line 739 of file UniGridApprox.cpp.

References aAdaptorSurface, CPx, CPy, CPz, Handle(), m_uknots, m_um, m_vknots, and m_vm.

Referenced by Perform().

double UniGridApprox::CompGridError (  ) 

Definition at line 876 of file UniGridApprox.cpp.

References aAdaptorSurface, m_Grid, m_Mesh, mG_err, MovieTool::x, and MovieTool::y.

bool UniGridApprox::CompKnots ( int  m,
int  n 
)

Definition at line 366 of file UniGridApprox.cpp.

References Py::int, FemExample::m, m_udeg, m_uknots, m_um, m_uParam, m_vdeg, m_vknots, m_vm, m_vParam, n_x, n_y, and draftTools::p.

Referenced by Perform().

double UniGridApprox::CompMeshError (  ) 
bool UniGridApprox::MatComp ( int  m,
int  n 
)
bool UniGridApprox::MeshOffset (  ) 
bool UniGridApprox::Perform ( double  TOL  ) 
bool UniGridApprox::SurfMeshParam (  ) 

Definition at line 290 of file UniGridApprox.cpp.

References Base::Vector3< _Precision >::Length(), FemExample::m, m_Grid, m_uParam, and m_vParam.

Referenced by Perform().

bool UniGridApprox::WriteMatrix ( ublas::matrix< double >  M  ) 

Definition at line 908 of file UniGridApprox.cpp.


Member Data Documentation

GeomAdaptor_Surface UniGridApprox::aAdaptorSurface

Definition at line 53 of file UniGridApprox.h.

Referenced by BuildSurf(), CompGridError(), and CompMeshError().

ublas::matrix<double> UniGridApprox::CPx

Definition at line 61 of file UniGridApprox.h.

Referenced by BuildSurf(), and MatComp().

ublas::matrix<double> UniGridApprox::CPy

Definition at line 62 of file UniGridApprox.h.

Referenced by BuildSurf(), and MatComp().

ublas::matrix<double> UniGridApprox::CPz

Definition at line 63 of file UniGridApprox.h.

Referenced by BuildSurf(), and MatComp().

std::vector<double> UniGridApprox::m_err

Definition at line 58 of file UniGridApprox.h.

Referenced by CompMeshError().

TopoDS_Face UniGridApprox::m_Face

Definition at line 77 of file UniGridApprox.h.

std::vector< std::vector<Base::Vector3f> > UniGridApprox::m_Grid

Definition at line 56 of file UniGridApprox.h.

Referenced by CompGridError(), MatComp(), MeshOffset(), Perform(), and SurfMeshParam().

std::vector< std::vector<Base::Vector3f> > UniGridApprox::m_GridCopy

Definition at line 57 of file UniGridApprox.h.

Referenced by MeshOffset(), and Perform().

Definition at line 52 of file UniGridApprox.h.

Referenced by CompGridError(), CompMeshError(), and MeshOffset().

Definition at line 54 of file UniGridApprox.h.

Definition at line 75 of file UniGridApprox.h.

Definition at line 71 of file UniGridApprox.h.

Referenced by CompKnots(), MatComp(), and Perform().

std::vector<double> UniGridApprox::m_uknots

Definition at line 66 of file UniGridApprox.h.

Referenced by BuildSurf(), CompKnots(), and MatComp().

Definition at line 69 of file UniGridApprox.h.

Referenced by BuildSurf(), and CompKnots().

std::vector<double> UniGridApprox::m_uParam

Definition at line 64 of file UniGridApprox.h.

Referenced by CompKnots(), MatComp(), and SurfMeshParam().

Definition at line 72 of file UniGridApprox.h.

Referenced by CompKnots(), MatComp(), and Perform().

std::vector<double> UniGridApprox::m_vknots

Definition at line 67 of file UniGridApprox.h.

Referenced by BuildSurf(), CompKnots(), and MatComp().

Definition at line 70 of file UniGridApprox.h.

Referenced by BuildSurf(), and CompKnots().

std::vector<double> UniGridApprox::m_vParam

Definition at line 65 of file UniGridApprox.h.

Referenced by CompKnots(), MatComp(), and SurfMeshParam().

std::vector< std::vector<double> > UniGridApprox::mG_err

Definition at line 59 of file UniGridApprox.h.

Referenced by CompGridError().

Definition at line 73 of file UniGridApprox.h.

Referenced by CompKnots(), MatComp(), MeshOffset(), and Perform().

Definition at line 74 of file UniGridApprox.h.

Referenced by CompKnots(), MatComp(), MeshOffset(), and Perform().

ublas::matrix<double> UniGridApprox::Q

Definition at line 60 of file UniGridApprox.h.

Definition at line 68 of file UniGridApprox.h.

Referenced by MeshOffset(), and Perform().

Definition at line 68 of file UniGridApprox.h.

Referenced by MeshOffset(), and Perform().


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:01:42 2011 for FreeCAD by  doxygen 1.6.1