Commit Graph

376 Commits

Author SHA1 Message Date
Paolo Cignoni 90ee3c4a71 added NumberOfFacesOnEdge function on a pos 2011-03-22 11:52:19 +00:00
Paolo Cignoni ec825ed246 harmless gcc warnings 2011-02-17 11:39:57 +00:00
ganovelli d505581af9 bug fixing in vector_ocf::reserve for the case of empty vector 2010-11-11 09:33:35 +00:00
Nico Pietroni 7332494ee2 line 331 called the correct distance function between segment-point in distance3.h 2010-10-15 15:19:12 +00:00
ganovelli 3bcc518722 replaced ImportLocal with ImportData (it was left behind) 2010-10-15 09:24:51 +00:00
Paolo Cignoni f83dc8b993 rewrote checkflip edge. 2010-10-01 20:27:30 +00:00
Paolo Cignoni 349e9869cf Updated many vcg files to do not use anymore the vcg::Max(a,b) and vcg::Min(a,b). Use the std version instead. 2010-09-21 22:09:13 +00:00
Paolo Cignoni 8451875482 slight change in the PointDistance. Now it checks with an assert in the ifthenelse chain that it chooses the best projection direction and removed a warning. 2010-07-14 08:09:28 +00:00
ganovelli eb3f1a97fc added HasPerVertexVFAdjacency and HasPerFaceVFAdjacency. Removed
generic HasVFAdjacency which made the logical AND of the two and updated the 
relative calls.
2010-06-24 12:35:37 +00:00
ganovelli 585f0462e8 ImportLocal to ImportData. Adjacencies are no more handle by ImportData, but
by speficic functions in append.h (ImportPerxxxAdj(..))
2010-06-16 16:24:26 +00:00
ganovelli de851eb29e inclusion of alltypes.h 2010-05-19 17:16:58 +00:00
Paolo Cignoni 7bd30d3ca0 fixed wrong pointer type in FHAdj class 2010-04-26 14:54:44 +00:00
Paolo Cignoni 3ee9667060 added two helper functions used for the self intersection tests 2010-04-20 00:56:08 +00:00
matteodelle 8b293069af Corrected an error in the template def. of TriMesh 2010-03-29 08:07:22 +00:00
ganovelli 261ff53ab1 [introduction of half edges as alternative representation]
No modification should be necessary for the existing code.

most relevant changes:

creation of folder:
vcg/connectors  
vcg/connectors/hedge.h
vcg/connectors/hedge_component.h

addition to the container of half edges to the trimesh:
HEdgeContainer hedge; // container
int hn;               // number of half edges

addition of 
vcg/trimesh/update/halfedge_indexed.h
which contains:
- the functions to compute the half edge representation from the indexed  and vivecersa
- the functions to add or remove an half edge
2010-03-25 16:52:18 +00:00
ganovelli a2341076c1 added typedef of ScalarType 2010-03-19 17:20:52 +00:00
ganovelli 21dd8aa179 Simplified reflection typedefs:
added type traits to support the mod below:

[ Changes in definition of  TriMesh: PART II ]

Note: No changes to existing code need be the done, this mod
should be fully backward compatible

Old way to define a TriMesh ==============
struct MyMesh: public vcg::tri::TriMesh< vector<MyVertex> , vector <MyFace> >{};

new  ways to define a TriMesh ==============

struct MyMesh: public vcg::tri::TriMesh< CONT1 >{};
struct MyMesh: public vcg::tri::TriMesh< CONT1 , CONT2>{};
struct MyMesh: public vcg::tri::TriMesh< CONT1 , CONT2, CONT3>{};

where CONT[i] can be vector< [MyVertex | MyEdge | MyFace ] > 
(the order is unimportant)
2010-03-19 17:19:51 +00:00
Paolo Cignoni cf872a327c Doh! Forgot a const in the getbbox of Face Base 2010-03-18 10:28:10 +00:00
Paolo Cignoni 63e21f15cb Disambiguated the origin of the ScalarType and CoordType in the simplex class. Now it derives from the type specified by the vertexRef component for the faces and from the Coord component for the vertexes. To be sure the ScalarType and CoordTypes are initialized to weird point3<bool> and char just to detect easisly when the wrong types shallow... 2010-03-18 10:02:32 +00:00
ganovelli c40a6c3d97 [ Changes in definition of TriMesh: PART I ]
Note for the developers: the change to make to existing projects is very little 
but strictly necessary to compile. This change IS NOT backward compliant.


==== OLD ==== way to define a TriMesh:

// forward declarations
class MyVertex;
class MyEdge;
class MyFace;

class MyVertex: public VertexSimp2 < MyVertex, MyEdge, MyFace, vertex::Coord3f,...other components>{};
class MyFace: public FaceSimp2 < MyVertex, MyEdge, MyFace, face::VertexRef,...other components>{};
class MyMesh: public TriMesh<vector<MyVertex>,vector<MyFace> >{};


==== NEW ==== way to define a TriMesh:
// forward declarations
class MyVertex;
class MyEdge;
class MyFace;

// declaration of which types is used as VertexType, which type is used as FaceType and so on...
class MyUsedTypes: public vcg::UsedType < vcg::Use<MyVertex>::AsVertexType,
                                          vcg::Use<MyFace>::AsFaceType>{};

class MyVertex: public Vertex < MyUsedTypes, vertex::Coord3f,...other components>{};
class MyFace: public Face < MyUsedTypes, face::VertexRef,...other components>{};
class MyMesh: public TriMesh<vector<MyVertex>,vector<MyFace> >{};

                                 
===== classes introduced          
[vcg::UsedType] : it is a class containing all the types that must be passed to the definition of Vertex, Face, Edge... This
class replaces the list of typenames to pass as first templates and the need to specify the maximal simplicial. So 

<MyVertex, MyEdge, MyFace  becomes <MyUsedTypes<

and 

VertexSimp2 becomes Vertex

[vcg::Use] : an auxiliary class to give a simple way to specify the role of a type

Note 2: the order of templates parameters to vcg::UsedTypes is unimportant, e.g:

class MyUsedTypes: public vcg::UsedType <vcg::Use<MyVertex>::AsVertexType,
                                         vcg::Use<MyEdge>::AsEdgeType,
                                         vcg::Use<MyFace>::AsFaceType>{};

is the same as:
class MyUsedTypes: public vcg::UsedType <vcg::Use<MyFace>::AsFaceType,
                                         vcg::Use<MyEdge>::AsEdgeType,
                                         vcg::Use<MyVertex>::AsVertexType>{};

Note 3: you only need to specify the type  you use. If you do not have edges you do not need 
to include vcg::Use<MyEdge>::AsEdgeType in the template list of UsedTypes.
==== the Part II will be a tiny change to the class TriMesh it self.
2010-03-15 10:42:52 +00:00
Paolo Cignoni 5ef6d30d37 Added a test to check in the point to face distance computation to manage the case of degenerated faces. Now correctly resort to distance point to segment. 2010-03-03 00:35:20 +00:00
Paolo Cignoni 18c92582d4 Cleaned up the CompactFaceVector and the CompactVertexVector, Now they correctly manage existing FV and FF topology by preserving them (if they are initialized to something meaningful). 2010-02-22 17:37:51 +00:00
Nico Pietroni 98eba3ef33 corrected minor compiling issues 2010-02-22 01:03:23 +00:00
Paolo Cignoni 446400f6fc Now the compactvertex and compactface funtions use the importlocal chain so we are sure that all the meaningful data is correctly copied (otherwise ocf stuff will not be copied) On the other hand when using ImportLocal we do not copy pointer based stuff like adjacency and *vertex pointers* that must be terefore copied by hand... 2010-02-19 00:21:26 +00:00
Paolo Cignoni 3b152298cc added runtime assert to prevent dangerous simplex to simplex assignment in the case of OCF optional attributes. 2010-02-11 00:14:35 +00:00
Paolo Cignoni a26b0e34f9 Cleaned up Detach functions and added a special, simpler version of Detatch for 2Manifold cases 2010-01-03 02:01:45 +00:00
Paolo Cignoni 7030dbb151 small change. The FFp<i> shortcuts seems no more used... 2009-12-07 08:31:01 +00:00
Marco Di Benedetto 5b076c064e added public: to WedgeColor* and Color Name(). 2009-12-01 17:35:42 +00:00
Paolo Cignoni 302a7725fa removed harmless warnings 2009-11-17 23:34:46 +00:00
Paolo Cignoni 70ae4d5c50 made public the self inspection member 'name' of the components. I do not know why it was not public in that case. 2009-11-05 22:35:56 +00:00
Paolo Cignoni 5ef3e2ca50 added a missing const cQ() for ocf face component 2009-11-01 09:51:53 +00:00
Nico Pietroni ea6553f1d5 corrected funtion NormalAbs::ImportLocal 2009-10-14 14:25:00 +00:00
ganovelli 5c0f228a4d added few missing Has*Ocf 2009-10-08 15:46:31 +00:00
Marco Di Benedetto 6fb6cfbb24 added const to method. 2009-09-03 14:48:22 +00:00
Marco Di Benedetto ae09d558f0 added const to method. 2009-09-03 14:48:08 +00:00
Paolo Cignoni 415228fcd4 Added some missing importLocal functions 2009-08-30 13:54:06 +00:00
Marco Di Benedetto be1d887db6 Renamed LeftT to RightT, added some checks and fixed method name. 2009-08-28 15:26:40 +00:00
granzuglia 14eb3697ec changes in order to compile with gcc 3.x 2009-07-15 16:25:25 +00:00
Marco Di Benedetto 85ccd7dc0b removed unused parameter warning. 2009-06-30 19:00:47 +00:00
Marco Di Benedetto 35189992a9 added WedgeNormalOcf and WedgeColorOcf. 2009-06-28 03:17:42 +00:00
Marco Di Benedetto 86c2311130 added HasWedgeRealNormal() (temporary name, now does not depend on vertex normal type) and added const in cWC(). 2009-06-28 03:16:35 +00:00
Paolo Cignoni eae78a0251 completed the correct working of temporary data inside the refinement functions 2009-06-25 06:19:00 +00:00
Marco Di Benedetto 625497e788 fixed ImportLocal() in WedgeColor: iteration was missing. 2009-06-15 17:26:00 +00:00
Marco Di Benedetto 39156cafe4 completed support for WedgeColor. 2009-06-09 18:23:50 +00:00
Paolo Cignoni 69004410e3 Corrected a wrong function to clear border face flag (and added BORDER012 to the enums of the flags) 2009-06-04 08:15:59 +00:00
Federico Ponchio e888ef1560 removed some useless consts 2009-06-03 12:23:20 +00:00
Paolo Cignoni b96d693960 bool ClearAllF() -> void ClearAllF() (no reason it is a bool returning function) 2009-05-26 22:35:57 +00:00
mtarini ac017fffb6 added few shortcuts to handle faux flags together: IsAnyF, ClearAllF (and a bit-mask FAUX012). 2009-05-26 17:57:24 +00:00
Paolo Cignoni 57a202111c Added the functor PointNormalDistanceFunctor used in the GetClosestFaceNormal. 2009-05-23 20:12:58 +00:00
Paolo Cignoni 291c2790af Removed harmless warnings 2009-05-22 07:54:42 +00:00
mtarini 77f5129ac9 Aggiunto i flags Faux che identificano gli edge dentro una faccia poligonale. 2009-04-20 22:49:33 +00:00
Paolo Cignoni b399b4943f added two assert that checks that you have consistently prepared your mesh before feeding it into a grid for distance checking. 2009-04-19 21:20:08 +00:00
Paolo Cignoni 8be6f002a3 Significant rewrote of the ImportLocal framework. Now it can really manage differently typed meshes.
It still requires that for OCF meshes the user enable stuff as needed.
2009-04-05 23:33:04 +00:00
Paolo Cignoni 7f2d51828f added a missing cQ() constant member 2009-04-05 21:53:09 +00:00
Marco Di Benedetto eeacaeff3b fixed WN and WT assignments (indices used). 2009-03-17 16:40:36 +00:00
Paolo Cignoni 0db413a1f4 fix compilation 2008-12-29 12:01:23 +00:00
Paolo Cignoni 190e1612c7 added VVStarVF that computes the star of a given vertex exploiting VF adjacency 2008-12-21 01:41:07 +00:00
ganovelli 698f6cbd7e [SIMPLEXplus promotion]
This modification removes the old way to define simplexes (already deprecated and unsupported).
In the following SIMPLEX = [vertex|edge|face|tetrahedron]

All the stuff that was in vcg/simplex/SIMPLEXplus/ has now been promoted to vcg/simplex/

Details:
- the folder vcg/simplex/SIMPLEX/with has been removed
- the file vcg/simplex/SIMPLEX/base.h has been renamed into  vcg/simplex/SIMPLEX/base_old.h 
- the content of vcg/simplex/SIMPLEXplus/ has been moved into vcg/simplex/SIMPLEX/
- the folder vcg/simplex/SIMPLEXplus/ has been removed

Actions the update the  code using vcglib:
replace <vcg/simplex/SIMPLEXplus/*> with  <vcg/simplex/SIMPLEX/*> in every include
for MESHLAB users: already done along with this commit
2008-12-19 10:30:51 +00:00
ganovelli 76eefc7fb8 added unsupported to deprecated in the warning 2008-12-12 18:10:36 +00:00
ganovelli cba885edbe missing (unreachable) return added 2008-10-24 09:49:47 +00:00
ganovelli 0d4b3fbed0 [Polygon modification]
Added components to the face to handle generic polygons.
(compiled with .net and gcc)

This commit includes the following files:
vcg/complex/trimesh/base.h
Added deallocation of polygon data in the destructor

vcg/complex/trimesh/allocate.h
generalization from 3 to VN() vertices

vcg/complex/trimesh/update/topology.h
generalization from 3 to VN() vertices

vcg/complex/trimesh/update/flags.h
generalization from 3 to VN() vertices

vcg/simplex/face/pos.h
generalization from 3 to VN() vertices

vcg/simplex/faceplus/base.h
Added the method VN() to query the number of vertices
of the polygon (deafult 3) and methods Prev and Next

vcg/simplex/faceplus/component.h
added Alloc and Dealloc calls along the hierarchies
2008-10-08 09:10:53 +00:00
ganovelli b5bca977a7 added pragma message to deprecate this way to define the simplex 2008-09-28 14:30:09 +00:00
ganovelli 68d900ec7e changes to compile previous commit with gcc 2008-09-24 09:15:38 +00:00
ganovelli f6da3d936d DistanceFunctor templated on the type of the query 2008-09-24 08:41:04 +00:00
Paolo Cignoni d3debc41e4 Changed the SetFF IsFF, ClearFF flag functions to the new names SetF IsF, ClearF 2008-06-30 09:58:43 +00:00
Paolo Cignoni 3779f19eee Corrected nasty bug in the newest version of the point-face distance, now the two versions are quite coherent 2008-06-13 06:03:27 +00:00
Paolo Cignoni 7f4d6cbd76 Added a version of the point-face distance function that does NOT require the precomputed edgeplane additional data. 2008-06-04 13:27:10 +00:00
Paolo Cignoni 36361be798 Big change. removed nexte.
Now the function is NextFE.
added find border function
2008-04-11 10:13:01 +00:00
Paolo Cignoni 0caa683764 better comments, renamed I() -> E()
removed wrong coherent function
2008-04-11 10:11:32 +00:00
Paolo Cignoni de92614c18 FaceType::VerteType --> FaceType::VertexType 2008-04-06 08:55:16 +00:00
Paolo Cignoni a45b2e8fa0 Added I() access function for the z member to the pos 2007-10-17 19:46:50 +00:00
Paolo Cignoni dcd031a38d added some using keywords and templates 2007-07-16 10:00:14 +00:00
Paolo Cignoni 1a3ea71ef5 Added Set method which takes a face pointer and a vertex pointer. 2007-05-28 14:09:41 +00:00
Paolo Cignoni 9b7d4fc359 Initial commit 2007-05-16 15:13:54 +00:00
Paolo Cignoni 1f231b5a3f Added std:: prefix to swap call 2007-05-16 15:12:40 +00:00
Paolo Cignoni d207af03d2 Replaced ambigous StarSize method with NumberOfIncidentVertices and NumberOfIncidentFaces 2007-05-16 15:11:32 +00:00
ganovelli c2e2b2cd0a changes to comply "plus" types 2007-05-04 16:44:06 +00:00
Paolo Cignoni cde27e321a Corrected V() operator. It was plainly wrong. Luckly enough it was not very used 2007-04-20 12:40:31 +00:00
mtarini 22fd220c6f Texture coord name change! "TCoord" and "Texture" are BAD. "TexCoord" is GOOD. 2007-03-12 15:37:19 +00:00
ganovelli 142880a279 added QualityType to comply faceplus type 2007-02-20 14:07:53 +00:00
Paolo Cignoni bcc7bb0c83 Added #ifdefs to guarantee that ComputeNormal would be defined only once 2007-01-13 00:25:36 +00:00
Paolo Cignoni 5c63b84bf8 Added include assert.h 2007-01-11 10:37:08 +00:00
Paolo Cignoni d72aabbe64 Rewrote the template of ComputeNormal functions to a more readable form. 2007-01-11 10:13:11 +00:00
Paolo Cignoni 07fb3ae2df Added access functions F() 2007-01-02 10:06:53 +00:00
Paolo Cignoni b226ba87ba Corrected wrong assert in V(i) access function 2006-12-29 13:13:00 +00:00
Paolo Cignoni efa2743316 Removed Oldstyle uberZ access to FF adjacency 2006-12-06 00:08:21 +00:00
Paolo Cignoni c680da71f9 Added FFlip() and const VFlip() operators 2006-12-04 16:06:12 +00:00
Paolo Cignoni 63f09aa04b Added a missing prototype to ismanifold 2006-11-13 01:57:23 +00:00
Paolo Cignoni 43facb8954 Corrected Detach; added FFCorrectness; Corrected ComplexSize, Dissemination of a lot of assert() 2006-11-09 17:28:42 +00:00
Paolo Cignoni 4be312c7f2 Added ismanifold 2006-11-09 17:22:56 +00:00
Paolo Cignoni be10b9167b Explained the use of V() operator of a pos 2006-10-07 14:24:26 +00:00
Marco Di Benedetto 1fbdc88c2c First Commit. 2006-09-28 13:30:39 +00:00
Paolo Cignoni a4ecdb2635 Better comment on usage of VF iterators 2006-09-25 09:57:49 +00:00
Paolo Cignoni ec2e478c4a changes for compilation on linux. Not sure about using either SphereOfTriangle or SphereOfTetra, please check. 2006-07-12 12:14:31 +00:00
ganovelli 67d370e4f4 added SmallestEnclosingSphere 2006-07-06 12:45:08 +00:00
Marco Di Benedetto 3c222fd583 First Commit. 2006-05-08 15:19:21 +00:00
Paolo Cignoni c7196917fd Added possibility of not updating the topology during a SwapEdge 2006-05-03 21:38:57 +00:00
Paolo Cignoni 9df4f755ec Initial commit. 2006-04-21 08:05:44 +00:00
Paolo Cignoni 381ce72a56 Corrected use of Area with the unambiguous DoubleArea 2006-01-22 10:06:23 +00:00
Paolo Cignoni 92c21e838d Very Important Change: Area->DoubleArea (and no more Area function) 2006-01-22 10:00:56 +00:00
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