source: GTP/trunk/Lib/Geom/shared/GTGeometry/src/libs/quadrics.h @ 1025

Revision 1025, 1.1 KB checked in by gumbau, 18 years ago (diff)

namespace simplif

Line 
1// -*- C++ -*-
2// $Id: quadrics.h,v 1.7 1997/10/01 14:07:29 garland Exp $
3
4#include "AdjModel.h"
5#include <gfx/math/Mat4.h>
6
7namespace simplif
8{
9        extern Mat4 quadrix_vertex_constraint(const Vec3&);
10        extern Mat4 quadrix_plane_constraint(real a, real b, real c, real d);
11        extern Mat4 quadrix_plane_constraint(Face& T);
12        extern Mat4 quadrix_plane_constraint(const Vec3& n, real);
13        extern Mat4 quadrix_plane_constraint(const Vec3&, const Vec3&, const Vec3&);
14        extern real quadrix_evaluate_vertex(const Vec3& v, const Mat4& K);
15
16
17        extern bool check_for_discontinuity(Edge *);
18        extern Mat4 quadrix_discontinuity_constraint(Edge *, const Vec3&);
19        extern Mat4 quadrix_discontinuity_constraint(Edge *);
20
21
22        extern bool quadrix_find_local_fit(const Mat4& Q,
23                                           const Vec3& v1, const Vec3& v2,
24                                           Vec3& candidate);
25        extern bool quadrix_find_line_fit(const Mat4& Q,
26                                          const Vec3& v1, const Vec3& v2,
27                                          Vec3& candidate);
28        extern bool quadrix_find_best_fit(const Mat4& Q, Vec3& candidate);
29        extern real quadrix_pair_target(const Mat4& Q,
30                                        Vertex *v1,
31                                        Vertex *v2,
32                                        Vec3& candidate);
33}
Note: See TracBrowser for help on using the repository browser.