MeshKit  1.0
quadrics.cpp File Reference
#include <assert.h>
#include "quadrics.h"
#include "3D.h"
#include "primitives.h"
Include dependency graph for quadrics.cpp:

Go to the source code of this file.

Functions

Mat4 quadrix_vertex_constraint (const Vec3 &v)
Mat4 quadrix_vertex_constraint (moab::EntityHandle vert)
Mat4 quadrix_plane_constraint (double a, double b, double c, double d)
Mat4 quadrix_plane_constraint (const Vec3 &n, double d)
Mat4 quadrix_plane_constraint (moab::EntityHandle triangle)
Mat4 quadrix_plane_constraint (const Vec3 &v1, const Vec3 &v2, const Vec3 &v3)
double quadrix_evaluate_vertex (const Vec3 &v, const Mat4 &K)
bool is_border (moab::EntityHandle eh)
bool check_for_discontinuity (moab::EntityHandle eh)
Mat4 quadrix_discontinuity_constraint (moab::EntityHandle mbe, const Vec3 &n)
Mat4 quadrix_discontinuity_constraint (moab::EntityHandle mbedge)
bool quadrix_find_local_fit (const Mat4 &K, const Vec3 &v1, const Vec3 &v2, Vec3 &candidate)
bool quadrix_find_line_fit (const Mat4 &Q, const Vec3 &v1, const Vec3 &v2, Vec3 &candidate)
bool quadrix_find_best_fit (const Mat4 &Q, Vec3 &candidate)
double quadrix_pair_target (const Mat4 &Q, moab::EntityHandle v1, moab::EntityHandle v2, Vec3 &candidate)

Function Documentation

bool check_for_discontinuity ( moab::EntityHandle  eh)

Definition at line 136 of file quadrics.cpp.

bool is_border ( moab::EntityHandle  eh)

Definition at line 125 of file quadrics.cpp.

Mat4 quadrix_discontinuity_constraint ( moab::EntityHandle  mbe,
const Vec3 n 
)

Definition at line 141 of file quadrics.cpp.

Mat4 quadrix_discontinuity_constraint ( moab::EntityHandle  mbedge)

Definition at line 163 of file quadrics.cpp.

double quadrix_evaluate_vertex ( const Vec3 v,
const Mat4 K 
)

Definition at line 95 of file quadrics.cpp.

bool quadrix_find_best_fit ( const Mat4 Q,
Vec3 candidate 
)

Definition at line 252 of file quadrics.cpp.

bool quadrix_find_line_fit ( const Mat4 Q,
const Vec3 v1,
const Vec3 v2,
Vec3 candidate 
)

Definition at line 228 of file quadrics.cpp.

bool quadrix_find_local_fit ( const Mat4 K,
const Vec3 v1,
const Vec3 v2,
Vec3 candidate 
)

Definition at line 196 of file quadrics.cpp.

double quadrix_pair_target ( const Mat4 Q,
moab::EntityHandle  v1,
moab::EntityHandle  v2,
Vec3 candidate 
)

Definition at line 282 of file quadrics.cpp.

Mat4 quadrix_plane_constraint ( double  a,
double  b,
double  c,
double  d 
)

Definition at line 55 of file quadrics.cpp.

Mat4 quadrix_plane_constraint ( const Vec3 n,
double  d 
)

Definition at line 70 of file quadrics.cpp.

Mat4 quadrix_plane_constraint ( moab::EntityHandle  triangle)

Definition at line 76 of file quadrics.cpp.

Mat4 quadrix_plane_constraint ( const Vec3 v1,
const Vec3 v2,
const Vec3 v3 
)

Definition at line 86 of file quadrics.cpp.

Definition at line 19 of file quadrics.cpp.

Mat4 quadrix_vertex_constraint ( moab::EntityHandle  vert)

Definition at line 34 of file quadrics.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines