Paolo Cignoni
|
2c32f546ef
|
Added a VertexConstDataWrapper to the kdtree helper classes for a simpler use of a kdtree to index the vertexes of a mesh
|
2012-10-25 16:55:52 +00:00 |
Paolo Cignoni
|
027da6f0a8
|
Just changed the default number of rotation attempt for packing OO polygons
|
2012-10-23 08:48:26 +00:00 |
Paolo Cignoni
|
b26b406f8f
|
Added a ToEigenVector method
|
2012-10-22 18:43:24 +00:00 |
Paolo Cignoni
|
c87cd495de
|
Rewrote of the Fitting to plane functions. Added Weighted version and sample
|
2012-10-22 18:27:30 +00:00 |
Paolo Cignoni
|
1918c53a09
|
Cleaning of names and reordering of Color functions
|
2012-10-19 11:52:57 +00:00 |
Paolo Cignoni
|
f96cbbe7e4
|
Made the member with the distfunctor no more a reference but a copy. To avoid issues when passing temporary dist functors...
|
2012-10-18 09:01:51 +00:00 |
Paolo Cignoni
|
d3d85dd0c0
|
corrected small bug in the gridclosest scanning function that caused rescan of the inner box when the search region in the uniform grid was growing.
|
2012-10-18 08:44:11 +00:00 |
Paolo Cignoni
|
372ee1ed99
|
Corrected a small (!) bug in the IntersectionSegmentTriangle. (the line triangle intersection function returns a **signed** distance...)
|
2012-10-15 09:42:05 +00:00 |
Paolo Cignoni
|
19675a4e33
|
Deprecating the use of old dangerous linear algebra code. Please use Eigen!
Now attempting to include lin_algebra will block your compilation...
|
2012-10-11 10:48:55 +00:00 |
Paolo Cignoni
|
fc75c0c62d
|
Harmless gcc warnings
|
2012-10-09 07:05:45 +00:00 |
Paolo Cignoni
|
c059114300
|
Orthography lenght -> length
|
2012-10-08 09:05:11 +00:00 |
Paolo Cignoni
|
dfc9192715
|
Orthography lenght -> length
|
2012-10-08 09:03:25 +00:00 |
Nico Pietroni
|
1aecce2033
|
added IsCCW function
|
2012-10-03 16:39:29 +00:00 |
Massimiliano Corsini
|
47adc093b2
|
add the possibility to specify the cell size
|
2012-09-19 09:05:40 +00:00 |
Massimiliano Corsini
|
dec783bcf0
|
add SetByPointers to deal with containers of pointers instead of containers of elements
|
2012-09-03 13:50:42 +00:00 |
Massimiliano Corsini
|
f16b821dc0
|
minor fix
|
2012-08-27 15:50:55 +00:00 |
Nico Pietroni
|
fc97ed0e1c
|
added support for primitive subdivision into cells
|
2012-08-27 12:47:12 +00:00 |
Nico Pietroni
|
461c8e1552
|
added support for primitive subdivision into cells
|
2012-08-27 12:46:50 +00:00 |
granzuglia
|
0448e15f5b
|
- removed compile time errors
|
2012-07-23 12:16:17 +00:00 |
Massimiliano Corsini
|
a5bec5b623
|
Fix Remove method (replace 3d box with 2d box)
|
2012-07-20 11:07:04 +00:00 |
Paolo Cignoni
|
58eced0506
|
Changed one of the init overload Set(), the one that allowed to specify the cell radius but ACTUALLY it did not use it...
now has a new name : SetWithRadius
|
2012-07-06 09:40:09 +00:00 |
Paolo Cignoni
|
38b8ab1f15
|
Corrected a bug in GridStaticPointer: The hint about the number of cell to be used was ignored and used only to compute the expansion offset.
|
2012-07-06 06:58:17 +00:00 |
Paolo Cignoni
|
b77fa00b5e
|
removed a few unused commented out funcs
|
2012-07-04 15:27:17 +00:00 |
Paolo Cignoni
|
7e4e023266
|
Removed a dubious unused normalize method...
|
2012-07-03 09:29:48 +00:00 |
Paolo Cignoni
|
b08fda7641
|
Corrected SegmentPointSquaredDistance to do not use anymore a hardcoded EPSilon value...
|
2012-07-02 16:45:49 +00:00 |
Nico Pietroni
|
066f46c20b
|
first release version
|
2012-06-22 14:27:33 +00:00 |
Nico Pietroni
|
614a5fec16
|
first release version
|
2012-06-22 14:25:35 +00:00 |
Nico Pietroni
|
0e3d2abcfd
|
corrected return value of closest point
|
2012-06-22 14:23:33 +00:00 |
Federico Ponchio
|
cb639a12d7
|
renamed from max/min to hi/low
|
2012-06-14 09:40:26 +00:00 |
Nico Pietroni
|
d4ad0bd6f6
|
added check if length of segment is zero then function SegmentPointDistance still works
|
2012-05-25 13:32:48 +00:00 |
Paolo Cignoni
|
7537b20933
|
Added a NormalizedDirection method
|
2012-05-05 14:54:45 +00:00 |
Paolo Cignoni
|
8eb94a7f9d
|
Changed ColorRamp non static method into a static one (that constructs a Color4b object) and added a more uniform SetColorRamp method.
|
2012-04-18 21:17:04 +00:00 |
Paolo Cignoni
|
b57a747441
|
rewriting of the SegmentPointSquaredDistance, now it is much much much shorter.
|
2012-03-14 15:57:37 +00:00 |
Paolo Cignoni
|
bc57fc36b4
|
Moved here and cleaned the kdtree for points implemented by Gael
|
2012-02-22 16:57:44 +00:00 |
Paolo Cignoni
|
1def190868
|
harmless gcc warnings
|
2012-02-09 17:55:41 +00:00 |
Paolo Cignoni
|
790cf5d7ef
|
Added a second function to compute the distance between a point and a box, according to the fact that you need the distance between the surface of a box or the distance from the filled box (e.g. the distance is 0 inside the box)
|
2012-02-09 17:30:54 +00:00 |
Paolo Cignoni
|
86f636b64b
|
Added function to add a point with radius to a bbox.
|
2012-02-09 17:24:23 +00:00 |
Nico Pietroni
|
69508353bb
|
resolved minor compilation issues
|
2012-02-09 14:02:34 +00:00 |
Paolo Cignoni
|
a53887e893
|
added operator [] and function Direction()
|
2012-01-18 16:45:50 +00:00 |
Paolo Cignoni
|
a61f6db8ac
|
corrected return value bug
|
2012-01-18 16:43:40 +00:00 |
Paolo Cignoni
|
5bb5c1a1eb
|
Correct a function name to match attribute order
IntersectionPlaneLine(line,plane) -> IntersectionPlaneLine(plane,line)
|
2012-01-18 16:41:34 +00:00 |
Paolo Cignoni
|
f4cf3b9221
|
Changed the name of the Distance from point to plane
from DistancePointPlane
to SignedDistancePointPlane
to underline the fact that it is SIGNED!!!
|
2012-01-18 11:44:42 +00:00 |
Paolo Cignoni
|
ac3107cdb4
|
added comments to the color Scatter function (I never remember the meaning of the params)
|
2012-01-18 11:24:33 +00:00 |
Nico Pietroni
|
75aca76eb7
|
Added PointInsidePolygon function
|
2012-01-12 00:53:37 +00:00 |
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 |