Paolo Cignoni
3d150e9aea
changed an assert condition in FlipF that could lead to a failure in the case of quad mesh navigation over polygonal faces.
2013-11-25 10:15:54 +00:00
Paolo Cignoni
6ec2689383
Corrected weird error in pos assignement operator.
2013-11-11 13:32:33 +00:00
Paolo Cignoni
344de42c2e
removed the return type from the ++ operator of the vfi iterator
2013-09-10 10:54:40 +00:00
Paolo Cignoni
1a8c1dafe2
VFlip() and FFlip are const members but there is no need of returning a pointer to a Const element
2012-11-09 11:11:50 +00:00
Paolo Cignoni
578ea5ae6b
Added control in the creation of a pos that you pass a consistent triple
2012-10-26 12:39:58 +00:00
Paolo Cignoni
57bd611892
added assert in the VFIterator to handle uninitialized topology.
2012-03-14 16:02:30 +00:00
Paolo Cignoni
2fe129645b
Rolled back
2011-10-05 15:04:40 +00:00
Paolo Cignoni
90ee3c4a71
added NumberOfFacesOnEdge function on a pos
2011-03-22 11:52:19 +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
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
Paolo Cignoni
0caa683764
better comments, renamed I() -> E()
...
removed wrong coherent function
2008-04-11 10:11:32 +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
1a3ea71ef5
Added Set method which takes a face pointer and a vertex pointer.
2007-05-28 14:09:41 +00:00
Paolo Cignoni
d207af03d2
Replaced ambigous StarSize method with NumberOfIncidentVertices and NumberOfIncidentFaces
2007-05-16 15:11:32 +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
Paolo Cignoni
5c63b84bf8
Added include assert.h
2007-01-11 10:37:08 +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
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
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
Paolo Cignoni
a4ecdb2635
Better comment on usage of VF iterators
2006-09-25 09:57:49 +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
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
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
eba78a7a10
error FFP -> FFp
2004-10-18 17:14:42 +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
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
3edc5d70bf
basefacetype to facetype
2004-07-15 11:28:44 +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
8096308cb2
changed F(.. to FFp
...
changed Z( to FFi(
2004-06-02 16:25:45 +00:00
Paolo Cignoni
72ebcd4b23
Added a constructor without vertex pointer
2004-05-10 15:21:47 +00:00
Paolo Cignoni
6a8c6d6046
Added VFIterator
2004-05-10 13:41:57 +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
f56ea4cc0d
Initial commit
2004-03-10 08:32:30 +00:00