Commit Graph

152 Commits

Author SHA1 Message Date
Clement Jamin 26a8b93870 Add CGAL_TC_EXPORT_ALL_COORDS_IN_OFF macro 2016-02-12 19:53:01 +01:00
Clement Jamin 17a81c3124 export_TC can now give the list of inconsistent simplices + ...
+ Add export_point_set
+ Allow to export the sparsified point set
+ Better OFF output (no more duplicated triangles)
+ Clean-up
2016-02-10 15:12:49 +01:00
Clement Jamin a1e866eb6d Add Simplicial_complex::load_simplices_from_OFF + minor changes 2016-02-05 11:09:04 +01:00
Clement Jamin 4f7de28d92 Improved console output + faster export_TC 2016-02-04 10:39:45 +01:00
Clement Jamin bbfcb5baa2 Improve console output & checks + missing include 2016-02-03 18:19:12 +01:00
Clement Jamin 31ee6ddc18 Faster TC refresh
+ Improved output
+ Possibility to specify a custom point projector for exporting
+ Temporary hack to handle some data with borders
+ Console colors
2016-02-02 19:13:24 +01:00
Clement Jamin 1ede44996c Add Simplicial_complex::num_K_simplices() 2016-01-19 17:16:56 +01:00
Clement Jamin 018ee66557 Add alpha TC + point set protection + another test to solve inconsistencies
Test: see check_and_solve_inconsistencies_by_filtering_simplices_out()
2016-01-19 15:54:31 +01:00
Clement Jamin 2ea1c1fc52 Small bugfixes 2015-12-10 16:44:30 +01:00
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