Paolo Cignoni
|
4c4d505b6f
|
added assert for discouraging inconsistent triangleplane intersection
|
2011-11-21 08:54:35 +00:00 |
Paolo Cignoni
|
20ec79715b
|
Improved comments to the interpolation function that requires a preferential axis
|
2011-11-21 08:02:31 +00:00 |
granzuglia
|
59b789818e
|
renamed ILLUMINANT_* with VCG_ILLUMINANT_* in order to avoid conflicts with the visual studio defines.
|
2011-11-18 10:42:19 +00:00 |
Paolo Cignoni
|
c9fbf25362
|
Cleaned up
- gcc warnings
- useless printf...
|
2011-11-15 18:03:58 +00:00 |
Paolo Cignoni
|
0a80e1e8ca
|
Cleaning up Plane3...
- comments (the sign of the offset please!!!)
- name of the Distance function -> DistancePointPlane(...)
- a missing normalization in the Init (!)
|
2011-11-15 11:11:12 +00:00 |
Paolo Cignoni
|
f631d88c90
|
changed the comment of the function Convert from polar coordinates to cartesian coordinates ** it uses RADIANS and not degree...**
|
2011-11-15 11:07:49 +00:00 |
Paolo Cignoni
|
3b7609a7e8
|
Added algorithms for packing into a square rectangles and polygons
|
2011-10-20 22:29:20 +00:00 |
Paolo Cignoni
|
2fe129645b
|
Rolled back
|
2011-10-05 15:04:40 +00:00 |
Paolo Cignoni
|
122cc50798
|
added missing Abs(Point2)
|
2011-05-12 09:52:34 +00:00 |
Paolo Cignoni
|
db5320cc64
|
Modified IntersectionPlaneSegment so that it returns always the same intersection independently from the segment orientation
Return false if segment is parallel with the plane.
|
2011-05-11 09:56:23 +00:00 |
ganovelli
|
017323e803
|
IptoP changed into IPfToPf
|
2011-04-13 16:15:13 +00:00 |
ganovelli
|
dbd3bd1a70
|
rewritten wrong planeboxintersection
|
2011-04-13 16:07:35 +00:00 |
ganovelli
|
6b3c096e44
|
removed cvs old comments
|
2011-04-13 16:06:19 +00:00 |
Paolo Cignoni
|
f8eb8a41dd
|
Cleaned up a bit triangle3. Removed some weird interpolation wrappers (that ended to be misused) and updated the rest of the lib to comply with this changes
|
2011-04-05 21:53:12 +00:00 |
Nico Pietroni
|
ed6221e993
|
Added TriangleTriangleIntersect2D function
|
2011-04-01 16:13:34 +00:00 |
Paolo Cignoni
|
cf619d282b
|
Corrected various c++ errors.
|
2011-04-01 06:26:31 +00:00 |
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 |