Gianpaolo Palma
7816e73d74
Changed "int lenght" to "ScalarType lenght" in ClosestPoint function.
2011-03-22 18:17:52 +00:00
Gianpaolo Palma
e3d8489f0f
Bug fixed in the ClosestPoint2Box2 function
2011-03-21 17:03:34 +00:00
Gianpaolo Palma
e90c417d2b
Minor changes in ClosestPoint function
2011-03-21 17:02:02 +00:00
Paolo Cignoni
6a876e1fc9
removed warnings due to deprecated hash map usage
2011-02-17 16:40:56 +00:00
Paolo Cignoni
7eaece45af
harmless gcc warnings
2011-02-17 11:41:21 +00:00
Marco Callieri
6395138b1f
added function for laplacian smoothing of normals on unstructured point clouds
2011-02-09 14:42:30 +00:00
Paolo Cignoni
7e611ef038
Removed and assert in the quality computation (if one side is zero for numerical rounding it should return zero as quality)
2011-01-27 10:49:23 +00:00
Nico Pietroni
b89a689a15
triangle3 InterpolationParameters calls now calls InterpolationParameters2 which correctly refers to the unique implementation of triangle2d evaluation of barycentric coordinates in triangle2.h
2010-12-13 00:01:13 +00:00
Nico Pietroni
542bfc8a91
corrected InterpolationParameters funtion in order to evaluate correctly barycentric coordinates even for points wich falls outside the triangle.
2010-12-12 23:59:55 +00:00
Nico Pietroni
387c62414a
added constructor with Min and Max
2010-12-12 23:57:39 +00:00
Paolo Cignoni
8446d9f566
added method to know if a spatial indexing structure is empty or not
2010-11-09 08:15:14 +00:00
Paolo Cignoni
070c47b0a5
added method to know if a spatial ubdexing structure is empty or not
2010-11-09 08:12:58 +00:00
Nico Pietroni
c818969366
added method P to return bounding box points as in Box3
2010-11-05 16:18:51 +00:00
Paolo Cignoni
999e110d01
renamed EPSILON into loc_EPSILON to avoid collsions with some defines.
2010-10-15 21:46:16 +00:00
Paolo Cignoni
98d61f03a2
removed an extra typename detected by gcc...
2010-10-15 21:15:39 +00:00
Nico Pietroni
6d34aec94b
TrianglePointDistance moved to distance.h
2010-10-15 15:17:57 +00:00
Nico Pietroni
e690807441
Distance functions moved to distance3.h
2010-10-15 15:17:15 +00:00
Nico Pietroni
793cf46180
- SquaredDistance moved to distance3.h
...
- Lenght and SquaredLength changed to const functions
2010-10-15 15:16:32 +00:00
Nico Pietroni
6ad59d0756
corrected IntersectionSegmentTriangle calls, the value dist was not updated coherently
2010-10-15 15:15:27 +00:00
Nico Pietroni
efadeb21f1
DistancePoint3Box3 calls moved and renamed in distance3.h
2010-10-15 15:14:06 +00:00
Nico Pietroni
6134c11fbd
first release version of the collection of minimum distance functions between geometric entities in 3D
2010-10-15 15:13:22 +00:00
Paolo Cignoni
2e9d5c0936
removed some old surviving math:Max and changed to std::max
2010-10-15 09:13:58 +00:00
granzuglia
de3371806e
added #include<algorithm>
2010-10-08 12:08:24 +00:00
granzuglia
b3d63c7c64
moved InterpolationParameters function after the Normal function definition
2010-10-06 12:58:09 +00:00
Nico Pietroni
8370978230
Added a new call of InterpolationParameters with infers the Normal by the Triangle itself
2010-10-01 13:47:16 +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
mtarini
4dcb3be0b3
minor: removed superfluous "typename"
2010-07-25 13:31:57 +00:00
mtarini
2cc56a6651
Cleaned up! Translated several comments, removed old history, Added GlobalToLocal and LocalToGlobal and MakeSquare, cleaned up types, etc.
2010-07-24 15:29:20 +00:00
Federico Ponchio
1017656a61
returned closest point was wrong.
2010-07-15 19:37:59 +00:00
Paolo Cignoni
882d039da6
removed mostly harmless gcc warnings (unused/uninitialized vars)
2010-07-14 08:00:16 +00:00
Paolo Cignoni
04694569cf
corrected un-initialized variable in RGBtoHSV
2010-06-23 14:23:32 +00:00
Paolo Cignoni
044412a099
Added initialization of tex index in the constructor of texcoord
2010-06-16 10:27:38 +00:00
Paolo Cignoni
12d257c3ab
Debugged:
...
method Point2::SquaredDistance() invoked Norm2 method, which does not exist. Invocation replaced with (*this-p).SquaredNorm()
2010-05-31 12:13:47 +00:00
Nico Pietroni
cf60111b79
changed call to InterpolationParameters...
2010-05-31 10:12:31 +00:00
Paolo Cignoni
157ba4ccfb
added class prototype for segment (needed for box intersection)
2010-05-24 08:25:26 +00:00
Nico Pietroni
44618a036a
Added ClosestPoint2Box2 function
2010-05-20 13:58:08 +00:00
Paolo Cignoni
c41e4d2e04
IMPORTANT CHANGE;
...
the rarely used frompolar and topolar returns angles in RADIANTS
changed the function names to clarify, avoid stupid bugs, and to adequate to the standard
2010-05-04 08:07:18 +00:00
Paolo Cignoni
77a846fe90
added a wrapper to the robust InterpolationParameters that uses a normal to choose the interpolation orientation
2010-04-30 09:42:10 +00:00
Federico Ponchio
8331ee9981
added IsIn for sphere
2010-04-22 19:05:24 +00:00
Paolo Cignoni
cb73c0bb80
added a missing vcg::math:: namespace qualifier
2010-04-21 21:09:57 +00:00
Nico Pietroni
ac4a79bc8f
corrected call to new function Name IntersectionRayBox
2010-04-21 17:22:39 +00:00
Paolo Cignoni
bdc74ae3b4
uniformed to the new intersection naming schemas
2010-04-20 00:59:38 +00:00
Paolo Cignoni
3291bb2889
Made uniform the naming of the intersection functions, added some comment and improved a bit the robustness of the triangle triangle intersection test in a mesh
2010-04-20 00:41:45 +00:00
Paolo Cignoni
db53730ae7
better comments for intersectionLineTriangle
2010-04-14 09:16:13 +00:00
Paolo Cignoni
0165f918f1
removed harmless gcc warnings
2010-03-26 09:43:45 +00:00
Paolo Cignoni
fba6bd5917
removed harmless warnings/English Comments
2010-03-18 10:04:55 +00:00
Paolo Cignoni
95e1b391c8
min in std limits is a function
2010-02-11 20:07:27 +00:00
ganovelli
9fee205755
removed exceeding "default" in switch condition
2010-01-16 15:33:07 +00:00
Paolo Cignoni
fbbf8fe436
Removed gcc4.4 warnings
2009-12-08 15:57:19 +00:00
Paolo Cignoni
6e3f10928e
better comment to interpolationParameter2
2009-12-04 08:32:00 +00:00