iasonmanolas
86495cdb6f
refactoring
2021-12-30 17:29:34 +02:00
Luigi Malomo
7973ee6b48
fixed weird constness
2021-03-29 11:55:47 +02:00
alemuntoni
adb799a0a2
fix const correctnes of face/component.h
2021-03-24 19:15:10 +01:00
alemuntoni
0b99eaa7b2
first complex.h files made self-sufficient
2021-03-24 14:53:00 +01:00
alemuntoni
d223c497cd
removed FacePos and PerMeshAttributeHandle assignment operators
2020-05-12 18:04:54 +02:00
Luigi Malomo
62a9ed2fd1
fixed pos operator
2020-03-03 19:06:28 +01:00
Luigi Malomo
c28ee8c5b4
added postfix ++ operator to VFIterator
2020-02-19 15:21:22 +01:00
Luigi Malomo
252a67539b
removed useless check
2020-01-17 10:51:15 +01:00
nico
edced0128c
added NextEdgeS function
2018-05-19 12:13:52 +10:00
Paolo Cignoni
e78d9c252c
Updated the pos to do not use crease stuff and added selection helpers for pos
2018-05-05 00:33:38 +02:00
Paolo Cignoni
c630e4064d
Added angle measuring function for a pos
2017-03-15 13:13:51 +01:00
Paolo Cignoni
c4d97c2c03
Huge reordering of header file inclusion order
2017-03-14 07:48:48 +01:00
Paolo Cignoni
32333eba24
Huge copyright sanitization of the header files of vcg folder.
2016-06-13 05:29:25 +00:00
Nico Pietroni
97a0879676
added operator <
2016-05-01 15:33:34 +00:00
Nico Pietroni
2b8a829099
added NextCrease function to follows creases
2015-05-24 14:51:22 +00:00
giorgiomarcias
7e212f1d60
Function VInd() declared const so that it can be used also with a constant face::Pos.
2014-11-15 17:50:19 +00:00
Nico Pietroni
c3beef6091
added NextNotFaux function
2014-09-11 20:43:41 +00:00
giorgiomarcias
c1f34b6517
Initialize data members in default constructors (e.g. Pos<FaceType> pos; pos.IsNull() now can't be false).
2014-06-15 21:29:45 +00:00
Nico Pietroni
c5d79ea704
commented out a wrong assert in FFlip function
2014-02-07 11:07:36 +00:00
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