Commit Graph

143 Commits

Author SHA1 Message Date
Clement Jamin f67e8b6355 Warning if sparsity = 0 + bugfixes 2015-12-03 14:47:49 +01:00
Clement Jamin 909dd40233 Forgot the commit variable declaration (fix commit d5ef993) 2015-07-20 17:13:31 +02:00
Clement Jamin 761d776252 Use the stars instead of the local triangulations for the export 2015-07-20 17:09:41 +02:00
Clement Jamin d5ef993d30 Fix warnings + timers + minor changes 2015-07-20 17:08:05 +02:00
Clement Jamin 8418c6178d Verbose output 2015-07-07 09:20:36 +02:00
Clement Jamin e8e5f7e438 More detailed trace 2015-07-01 15:53:19 +02:00
Clement Jamin fab4c9d5a8 More debugging code 2015-06-30 17:55:29 +02:00
Clement Jamin 752a5550be Renamed a few variables/functions 2015-06-26 10:10:46 +02:00
Clement Jamin 99ce450f71 First version of alpha TC
Where the tangent spaces are progressively thickened
to try to get rid of inconsistencies
2015-06-25 20:37:22 +02:00
Clement Jamin 95fc8dfdb8 Added/renamed typedefs 2015-06-23 19:38:57 +02:00
Clement Jamin a3bd61fa73 m_intrinsic_dimension => m_intrinsic_dim 2015-06-23 18:50:43 +02:00
Clement Jamin 0a0714aa44 One priority queue per dimension 2015-06-23 18:49:11 +02:00
Clement Jamin 341f17a49c First step of solve_inconsistencies_using_adaptive_alpha_TC: priority queue 2015-06-23 18:24:47 +02:00
Clement Jamin 6e44497e85 Simplified some loops 2015-06-23 11:24:51 +02:00
Clement Jamin 0332d2c7ee Param center_vertex was useless + added function...
... compute_aff_of_voronoi_face_and_tangent_subspace_intersection
2015-06-23 10:36:22 +02:00
Clement Jamin c6b1e4c7cd Function to compute the intersection between a Voronoi cell and a tangent plane
Returns any point of the intersection
2015-06-19 17:19:46 +02:00
Clement Jamin 758482934a Take the "thickening vectors" into account when computing the TC
Replacement of the previous fixed-alpha TC code by a version
using the "thickening vectors" (for now, the alphas associated to a
thickening vector have the same hard-coded values)
2015-06-17 19:05:13 +02:00
Clement Jamin 723ec9b1a9 Missing constructor + improve code 2015-06-16 19:19:50 +02:00
Clement Jamin b93ecfe222 Moved and fixed does_voronoi_face_and_alpha_tangent_subspace_intersect
It now takes position perturbations into account
2015-06-16 16:34:52 +02:00
Clement Jamin 4fb3edce3f Add thickening vectors to Basis and take it into account in the TC
Now, the dimension of the local triangulation is not always
m_intrinsic_dimension.
2015-06-16 15:40:16 +02:00
Clement Jamin b78cb7ecf8 Better export for flat torus + debug code 2015-06-16 13:28:17 +02:00
Clement Jamin f0b2722903 Added an option to perturb tangent planes 2015-06-16 13:23:54 +02:00
Clement Jamin 1be9e245be CGAL_ALPHA_TC => CGAL_FIXED_ALPHA_TC 2015-06-16 13:22:57 +02:00
Clement Jamin b8914ccb44 Use Random_points_in_ball_d 2015-06-16 11:32:31 +02:00
Clement Jamin 0c5432cd06 Clean-up debugging code 2015-06-16 11:30:23 +02:00
Clement Jamin 5341a983c2 Add check_correlation_between_inconsistencies_and_fatness 2015-06-04 14:31:30 +02:00
Clement Jamin 04136b980c Improved export to OFF files 2015-05-27 17:54:58 +02:00
Clement Jamin 002748790e Fix perturb (the size of the translation was always m_half_radius) 2015-05-27 17:53:49 +02:00
Clement Jamin 045b463cff export_inconsistent_stars_to_OFF_files 2015-05-27 17:51:16 +02:00
Clement Jamin 9b0fca5019 Replaced NUM_POINTS_FOR_PCA by BASE_VALUE_FOR_PCA^intrinsic_dim 2015-05-27 17:46:40 +02:00
Clement Jamin 8fb2b92663 Fix compilation + code clean-up 2015-05-27 17:44:14 +02:00
Mael Rouxel-Labbé 065d355442 Fix compilation issues
(cherry picked from commit 444c982540a1b4301d829556027784d81ffe0f55)

Conflicts:
	Tangential_complex/include/CGAL/Tangential_complex.h
2015-04-30 14:39:08 +02:00
Clement Jamin 3ceb5992b0 fix_inconsistencies => fix_inconsistencies_using_perturbation 2015-04-29 17:55:06 +02:00
Clement Jamin e5407e0142 Solve ambiguity on "i" 2015-04-29 17:39:09 +02:00
Mael Rouxel-Labbé 7ff3c99876 Avoid an unnecessary projection on tangent planes
If the center of the star is the origin of the tangent basis, there is
no need to compute a projection (it'll be the origin, locally)

(cherry picked from commit e04c440477a43498aa79fa10e36f07893bcf572b)
2015-04-29 17:35:46 +02:00
Mael Rouxel-Labbé 9cfc9ea8ea Avoid an unecessary initialization
If external weights aren't set, the memory vector of weights will be
full of 0 and isn't needed.

(cherry picked from commit f6a4ba6169d792bf73a9121a7102d11a53469e24)
2015-04-29 17:35:45 +02:00
Mael Rouxel-Labbé 05500a49e0 Add point weights memory
This is done to prevent consecutive weight perturbations from accumulating

(cherry picked from commit 6f23a80ae682d515b301e0ac6c7f068005e18a64)
2015-04-29 17:35:44 +02:00
Mael Rouxel-Labbé ff00de4e22 Fix const correctness
(cherry picked from commit 6b52e73a677f322bf3a2f17ec9eee7106b44d924)
2015-04-29 17:33:23 +02:00
Mael Rouxel-Labbé 83e01e3a91 Add a tiny comment
(cherry picked from commit 5a3b3edd6a6cbab4f5d56b08474ef8f4b4cbab7b)
2015-04-29 17:32:00 +02:00
Mael Rouxel-Labbé 17739d847d Clean code (trailing whitespace, indentation, etc.)
(cherry picked from commit 75b44442cfbc4ba8b69160b98b8115ceda7d07ef)
2015-04-29 17:31:57 +02:00
Mael Rouxel-Labbé 2997d7464b Adapt TC code to be compatible with the anisotropic mesh algorithms
The main changes are :
-Points always have a weight (defaulted to 0), but we keep using
 Points and Weights vectors rather than Weighted_points to ease
 the interface with ANN queries.
-Tangent spaces know a point through which they go to allow them
 to not necessarily go through their corresponding m_points.
-Tangent spaces and weights can be set externally

(cherry picked from commit ce8c08a03263e9769c76851a9fc5f63f40f9ac97)
2015-04-29 17:24:08 +02:00
Mael Rouxel-Labbé 213cd0071a Additional compilation fixes
(cherry picked from commit 207f119ab0dcd35a203b4da2d66508ccad927d0c)
2015-04-29 17:23:29 +02:00
Mael Rouxel-Labbé b3bd06aa21 Fix trailing whitespace
(cherry picked from commit 502ab45855e9d5c42660be842f8e27cbe94bea3e)
2015-04-29 17:21:15 +02:00
Mael Rouxel-Labbé 5aedcaea15 Fix compilation issues
(cherry picked from commit b02fdcb35398ba5d87ce7ae0523357e3f5d867a2)
2015-04-29 17:19:05 +02:00
Clement Jamin e6cb33d97e Fixed indentation + typo 2015-04-29 16:52:51 +02:00
Clement Jamin 7fab99906a Allow several colors in export_to_off + const correctness 2015-04-29 12:57:04 +02:00
Clement Jamin 1dff5b1d81 First implementation of alpha-TC
+ typos + bug fix in export_to_off
2015-04-16 16:03:44 +02:00
Clement Jamin d40325bae4 Added the ability to compute the orthogonal space basis 2015-04-13 17:03:05 +02:00
Clement Jamin 20f8711740 Remove useless function call 2015-03-09 14:49:12 +01:00
Clement Jamin 8ad1b81323 Now taking weights into account for the computation of "min_a" 2015-03-04 16:54:23 +01:00