Commit Graph

376 Commits

Author SHA1 Message Date
Massimiliano Corsini 009f633576 Rewrite SwapEdge to fix problems with borders 2005-12-19 13:47:26 +00:00
Massimiliano Corsini c334cebb47 Add some user bit 2005-12-16 11:42:23 +00:00
Massimiliano Corsini a088ee1ba6 Remove trivial warnings 2005-12-16 11:01:26 +00:00
Massimiliano Corsini c1ffab75de Add further comment to FlipEdge 2005-12-16 10:47:48 +00:00
Massimiliano Corsini 67dca7d9e6 Fix one bug 2005-12-16 10:43:23 +00:00
Massimiliano Corsini 8133c87819 Add CheckOrientation
Reimplement SwapEdge function
2005-12-16 10:29:10 +00:00
Massimiliano Corsini becbfab7da Replace Pos<FaceType> with PosType 2005-12-15 11:57:48 +00:00
Massimiliano Corsini fa45011ed9 Fix operators 2005-12-15 11:19:00 +00:00
Massimiliano Corsini bd8e59e0b4 Add constructor which takes as input a face and a vertex 2005-12-15 10:53:16 +00:00
Paolo Cignoni 2d7b7a4532 Removed excess ';' from end of template functions, for gcc compiling 2005-12-01 23:54:59 +00:00
Paolo Cignoni 2587a22c49 Added HasFlags 2005-12-01 23:54:29 +00:00
ganovelli cc0e745c09 creation 2005-11-30 14:44:47 +00:00
Nico Pietroni 7629e40b53 added cFFi function 2005-11-23 14:40:09 +00:00
ganovelli bb972b9ace changed IsBOrder 2005-11-23 13:04:26 +00:00
Paolo Cignoni dbc5a559c4 Moved ComputeNormal and ComputeNormalizedNormal out of the face class (no more a member function!) 2005-11-22 15:47:35 +00:00
Paolo Cignoni fab34558d7 Added dummy static member for avoiding annoying warning in empty functions... 2005-11-12 18:39:54 +00:00
Paolo Cignoni 4d952f8de7 Made IsManifold Constant 2005-11-10 15:49:32 +00:00
Paolo Cignoni 9df077d22f Added intialization of _flags to zero in the default constructor of face 2005-11-01 18:16:36 +00:00
Federico Ponchio a9ed92f5f0 Tired of no newline at end of file warnings. 2005-10-26 21:22:11 +00:00
Paolo Cignoni 46cf45eda3 *** empty log message *** 2005-10-26 15:45:56 +00:00
Federico Ponchio 69240d2ddc IsBorder(...) declaration needed. 2005-10-16 23:30:39 +00:00
Paolo Cignoni b63a90172e Removed the reference to Deprecated f->IsBorder(i) now everyone should use IsBorder(*f,i); 2005-10-13 09:29:10 +00:00
Paolo Cignoni ff83bb3a24 Added cFFp and cVFp const member functions 2005-10-13 09:25:43 +00:00
Paolo Cignoni b84b47b5f1 Removed reference to IsBorder() member of face and substituted with the face templated function version. 2005-10-13 08:34:19 +00:00
Marco Di Benedetto 36aedffa72 Added class PointDistanceFunctor. 2005-09-28 19:35:06 +00:00
Marco Di Benedetto 3a76ce3a01 Added const qualifier in GetBBox method. 2005-09-28 19:32:09 +00:00
Nico Pietroni 93c310391e changed min calls to Min<ScalarType> of math.h of vcglib 2005-09-14 12:58:44 +00:00
Nico Pietroni e82ae93bf8 removed min definition generate warnings 2005-09-14 09:58:32 +00:00
Nico Pietroni f5b0b9f8f2 added definition of min function 2005-09-14 09:03:54 +00:00
Paolo Cignoni 2e895eaf22 Initial Commit. 2005-09-09 13:09:14 +00:00
Paolo Cignoni 38db49c827 first version 2005-07-05 11:26:09 +00:00
Paolo Cignoni d481f58234 Added a named typedef for the per wedge TexCoordinate 2005-06-17 00:43:34 +00:00
Nico Pietroni b12f308b33 *** empty log message *** 2005-04-28 12:55:41 +00:00
Nico Pietroni 966e1e52f0 *** empty log message *** 2005-04-26 09:36:17 +00:00
Paolo Cignoni 08f4270101 Initial Commit 2005-04-18 13:51:52 +00:00
Nico Pietroni 82240231a0 Changed detach to FFdetach , compiled tested in manifold cases 2005-04-11 09:17:24 +00:00
Paolo Cignoni 0fc0f795c4 add FaceAFAVFNFQRT 2005-03-22 10:11:08 +00:00
Paolo Cignoni eda550ba49 minor changes to comply gcc compiler 2005-03-18 16:35:53 +00:00
Paolo Cignoni 150036bb8b Initial Release 2005-03-15 01:28:46 +00:00
ganovelli 6063b7526d *** empty log message *** 2005-03-14 16:36:59 +00:00
ganovelli eed72fadc4 _ffi was a 4 for positions vector (only 3 used) 2005-03-11 14:14:14 +00:00
Paolo Cignoni 88fb1680d2 Wrote down the final right version of the naming rules (af and NOT fa) 2005-03-11 12:11:36 +00:00
Paolo Cignoni d829ce7db6 Removed wrong named vertex and face configuration files 2005-03-11 12:10:59 +00:00
Nico Pietroni a4e78fa119 1 warning corrected added casting in const ScalarType EPSILON = ScalarType( 0.000001); 2005-02-02 16:44:34 +00:00
Nico Pietroni 1ecdcebd59 added HasEdgePlane function 2005-01-28 17:53:13 +00:00
Paolo Cignoni 5b984e817d small gcc compiling issues for namespaces 2005-01-28 12:00:33 +00:00
Paolo Cignoni 507a7c89e6 Removed a 'using namespace' 2005-01-24 15:35:25 +00:00
Nico Pietroni b7b23d4140 changed Dist Function to PointDistance... the function is on vcg::face::PointDistance this file will contain all distance functions between a face and othe entities 2005-01-21 17:11:03 +00:00
Paolo Cignoni a264ec7c78 #define __VCGLIB_FACE_AF
#define __VCGLIB_FACE_FN
#define __VCGLIB_FACE_AV
#define __VCGLIB_FACE_FM
#define __VCGLIB_FACE_RT
2005-01-21 16:42:53 +00:00
Paolo Cignoni 8b88b2520e Added better documentation (with an example and the V0 V1 V2 access members 2005-01-03 11:22:31 +00:00
Paolo Cignoni 5bd4d8b2b1 Better Doxygen documentation 2004-10-28 00:56:44 +00:00
ganovelli 124e8402ba IsBOrder (typecast on return type) 2004-10-25 08:22:40 +00:00
Paolo Cignoni a231b2137c Added CheckFlipEdge and FlipEdge 2004-10-22 13:41:06 +00:00
Paolo Cignoni cec4122f3a uppercase error in FACE_TYPE 2004-10-22 11:11:46 +00:00
Paolo Cignoni c8b9c96f29 Added constant access function FFp and renamed F1 F2 to FFp1 FFp2 2004-10-20 08:28:31 +00:00
ganovelli 33f19dc6df minor change 2004-10-18 17:15:45 +00:00
ganovelli eba78a7a10 error FFP -> FFp 2004-10-18 17:14:42 +00:00
ganovelli 22c677246e added ::IsBorder 2004-10-18 17:13:50 +00:00
ganovelli de4b5c1d43 changed P() to cP() 2004-09-15 11:20:15 +00:00
ganovelli 6b328610fa removed "&" in FFp 2004-09-14 19:47:02 +00:00
ganovelli 66d136ed78 constructor added 2004-09-14 19:46:10 +00:00
ganovelli 0bbd5bb33b minor changes to comply gcc compiler (typename's and stuff) 2004-08-25 15:15:27 +00:00
Nico Pietroni 87b79eecad corrected errors on vfappend 2004-08-06 01:47:57 +00:00
Nico Pietroni 50b5c30d05 added VFAppend funtion 2004-08-05 22:27:00 +00:00
Nico Pietroni 64c5cb56cf corrected vfdatach and added vf append 2004-08-04 20:50:12 +00:00
Paolo Cignoni 8e71d0f5ae Removed warning about postfix incremnet of VFIterator 2004-07-27 09:49:23 +00:00
Paolo Cignoni c8d1e28f66 Added V() access function instead of V(0) 2004-07-27 09:47:49 +00:00
Paolo Cignoni b143b27807 Removed two const modifiers from the VFIterator 2004-07-18 07:45:30 +00:00
ganovelli c15f2fb66c minor changes 2004-07-15 12:04:14 +00:00
ganovelli 4a57fadc00 minor changes 2004-07-15 11:31:59 +00:00
ganovelli 01f33c04ce overwritten previous version (it was a copy of base.h) 2004-07-15 11:31:06 +00:00
ganovelli 3edc5d70bf basefacetype to facetype 2004-07-15 11:28:44 +00:00
ganovelli 0243e21354 VFDetach corrected 2004-07-15 11:26:48 +00:00
Nico Pietroni ac215c4dbc added function NormalizedNormal 2004-07-12 12:17:09 +00:00
mtarini 1f3fc8f9ce *** empty log message *** 2004-07-09 15:52:04 +00:00
ganovelli 16965b7e06 newline 2004-07-07 14:06:43 +00:00
Paolo Cignoni a267ba1a63 changed the VFIterator ++ to return a facepointer instead of a bool 2004-07-06 06:25:44 +00:00
ganovelli 73f3a54b0c created 2004-06-28 13:25:02 +00:00
ganovelli 8096308cb2 changed F(.. to FFp
changed Z(   to FFi(
2004-06-02 16:25:45 +00:00
ganovelli 8d094c17b9 created 2004-05-14 11:28:15 +00:00
Paolo Cignoni ff5a1cbdc4 Changed ComputeMormalizedNormal() using Triangle3 2004-05-13 11:01:06 +00:00
ganovelli 76051030e2 created 2004-05-12 18:50:25 +00:00
ganovelli 2fe139f9ac dist and coputeRT removed (see distance.h and updateEdges) 2004-05-12 18:49:05 +00:00
Paolo Cignoni 88926f2af7 removed warning of unused variables 2004-05-12 14:43:36 +00:00
Paolo Cignoni 522f0025c7 include color4 2004-05-12 12:50:20 +00:00
ganovelli eeb8bf47f3 name of the type corrected 2004-05-12 12:29:17 +00:00
Paolo Cignoni ed904aa9ac Conformed C++ syntax to GCC requirements 2004-05-12 12:23:23 +00:00
ganovelli f31d87a79c changed from "thi" to "&f" in Vfdetach 2004-05-11 16:03:18 +00:00
ganovelli a989a39c19 *** empty log message *** 2004-05-11 15:20:30 +00:00
ganovelli 0c7004af16 created 2004-05-11 15:16:59 +00:00
Paolo Cignoni 72ebcd4b23 Added a constructor without vertex pointer 2004-05-10 15:21:47 +00:00
Paolo Cignoni 98b8a3ae39 Updated names of POS and adj functions to the new standards for many functions 2004-05-10 15:20:49 +00:00
ganovelli c89d2526f7 assert(i*0) for using "i" and preventing the compiler warning for unreferenced variable 2004-05-10 14:01:09 +00:00
Paolo Cignoni 6a8c6d6046 Added VFIterator 2004-05-10 13:41:57 +00:00
Paolo Cignoni ff45c6d2e5 Added mandatory template params for edge and face class names to the face class
Changed type of return face pointer to the one passed by templ params
Changed name of func FV to VF (it stores Vertex-Face Topology)
2004-05-10 13:19:38 +00:00
Nico Pietroni 8d49b3d7f5 face with both topology ( vertex -face) (face-face) 2004-05-06 14:58:00 +00:00
Nico Pietroni 4cfba6c4a3 base face type only pointerto vertices 2004-05-06 13:06:48 +00:00
Nico Pietroni 7f3374cd46 changed names to topology functions 2004-05-06 09:06:59 +00:00
Nico Pietroni bdb47046da with normal and vertex-face topology 2004-05-05 16:31:47 +00:00
Nico Pietroni 99d05b351a with vertex-face topology 2004-05-05 16:30:34 +00:00
Nico Pietroni dba60317fa with face topology and colour 2004-05-05 16:30:07 +00:00
Nico Pietroni 286971f8ae with face topology 2004-05-05 16:29:33 +00:00
ganovelli c601fcd17f added function Dist 2004-05-04 02:46:23 +00:00
ganovelli 43682d9ada created 2004-05-04 02:41:07 +00:00
ganovelli b032085a0e created 2004-05-04 02:40:47 +00:00
Paolo Cignoni 39ff8b63d7 Added : #include <color4.h> 2004-04-27 14:15:23 +00:00
Paolo Cignoni f19537f3f3 *** empty log message *** 2004-04-27 08:49:47 +00:00
Paolo Cignoni 711c2a00d9 First working version! 2004-04-05 11:56:14 +00:00
Paolo Cignoni ec3c53d1d5 wrong define FACE_N instead of FACE_FN 2004-04-05 11:51:22 +00:00
Paolo Cignoni 9ddcfd8420 missing include 2004-03-29 08:37:09 +00:00
Paolo Cignoni ad431fccd3 minor changes 2004-03-18 16:00:10 +00:00
Paolo Cignoni a341239296 Written some documentation and added to the trimes doxygen module 2004-03-12 15:22:28 +00:00
Paolo Cignoni 49c4d52f70 Written some documentation and added to the face module 2004-03-11 09:02:35 +00:00
Paolo Cignoni f56ea4cc0d Initial commit 2004-03-10 08:32:30 +00:00
Paolo Cignoni 07267f54f0 Moved geometric stuff to the space/triangle class 2004-03-10 00:52:38 +00:00
Paolo Cignoni d08568913e First working version! 2004-03-10 00:50:41 +00:00
Paolo Cignoni c24a286899 cr lf mismatch 2004-03-09 14:17:58 +00:00
Paolo Cignoni 417940a2d5 Initial commit 2004-03-09 14:16:55 +00:00
Paolo Cignoni 42e0406b07 Initial commit 2004-03-08 05:25:48 +00:00
Paolo Cignoni 71749144a2 First working version 2004-03-03 16:08:38 +00:00
Paolo Cignoni 5df7571769 sorted types in alphabetic order 2004-02-19 14:24:37 +00:00
Paolo Cignoni 2c061402f5 Initial commit 2004-02-19 13:11:06 +00:00
Paolo Cignoni b3469007e8 Definively removed 2004-02-19 13:09:01 +00:00
Paolo Cignoni d84b6632fa Definively removed 2004-02-17 23:38:36 +00:00
Paolo Cignoni 30bc1a1c17 Initial commit 2004-02-17 01:06:50 +00:00
Paolo Cignoni b2481bc732 First commit... 2004-02-13 00:44:53 +00:00