Commit Graph

317 Commits

Author SHA1 Message Date
Mael ee3abc5288
Add missing include 2021-04-16 14:52:26 +02:00
Mael Rouxel-Labbé 995c715202 Fix pkg description advertising unprovided features 2021-04-07 10:17:30 +02:00
Mael Rouxel-Labbé 00015b0e04 Minor compilation error/warning fixes 2021-04-07 09:18:42 +02:00
Mael Rouxel-Labbé a7f8957733 Minor warnings/compilation errors fixes 2021-04-07 09:18:42 +02:00
Mael Rouxel-Labbé dc803570de Fix usage of outer class typedef 2021-04-07 09:18:42 +02:00
Mael Rouxel-Labbé bdadc0ebf2 Misc tiny fixes 2021-04-07 09:18:42 +02:00
Mael Rouxel-Labbé 4c4942008c Fix range insertion not using size_type as return type 2021-04-07 09:18:42 +02:00
Mael Rouxel-Labbé 274b8ed002 User Manual fixes after Pierre's review 2021-04-07 09:18:42 +02:00
Mael Rouxel-Labbé 28e3e0cc11 Fixes after @sloriot's review 2021-04-07 09:18:42 +02:00
Mael Rouxel-Labbé db24c7fbea Clean CmakeLists.txt 2021-04-07 09:18:42 +02:00
Mael Rouxel-Labbé 8de997a723 Add package_info/dependencies 2021-03-30 10:50:13 +02:00
Mael Rouxel-Labbé ed6d8b273d Remove useless includes creating unwanted dependencies 2021-03-24 15:31:51 +01:00
Mael Rouxel-Labbé bd5a54ee40 add missing include (?) 2021-03-24 13:30:58 +01:00
Maxime Gimeno 8a404ec76d Merge branch 'Triangulation_on_sphere_2-GF' of github.com:MaelRL/cgal into Triangulation_on_sphere_2-GF 2021-03-24 13:24:18 +01:00
Maxime Gimeno fad1febcc4 Finish the demo. 2021-03-24 13:23:54 +01:00
Mael Rouxel-Labbé aaa505b5cf Remove trailing whitespace 2021-03-24 12:52:11 +01:00
Mael Rouxel-Labbé cd56878d92 Add missing license include 2021-03-24 12:39:20 +01:00
Mael Rouxel-Labbé 122866603a Add missing license header 2021-03-24 12:28:47 +01:00
Mael Rouxel-Labbé 2a33c945d7 Add header.png 2021-03-24 11:08:17 +01:00
Mael Rouxel-Labbé 4e50deedc8 Fix link 2021-03-24 11:02:40 +01:00
Mael Rouxel-Labbé 18c943e7b2 Add ToS2 user manual 2021-03-24 10:56:14 +01:00
Mael Rouxel-Labbé 105d28c31c Add missing returns in examples 2021-03-24 00:16:16 +01:00
Mael Rouxel-Labbé ca91f533ef Add a NP to not color faces in Tos2::write_OFF 2021-03-24 00:14:58 +01:00
Maxime Gimeno 54b71f6cf3 Add an input for the radius when loading 2021-03-23 16:27:08 +01:00
Maxime Gimeno 0db011256a WIP 2021-03-23 15:06:15 +01:00
Mael Rouxel-Labbé 47b1c058a6 Do not draw anything if dimension is <2 2021-03-23 14:02:40 +01:00
Mael Rouxel-Labbé bc188bc4a1 Add missing copy ToS2 copy operator 2021-03-23 10:56:53 +01:00
Mael Rouxel-Labbé 857f494340 Minor ref manual improvements 2021-03-23 10:56:21 +01:00
Mael Rouxel-Labbé cdcc86a369 Misc minor changes 2021-03-22 22:18:22 +01:00
Mael Rouxel-Labbé c8f224be91 Many Tos2 traits fixes / polish 2021-03-22 22:17:46 +01:00
Mael Rouxel-Labbé b224b74ce2 Fix cocircular deterministic handling 2021-03-22 22:15:12 +01:00
Mael Rouxel-Labbé a9075e69e2 Update tests 2021-03-22 22:14:39 +01:00
Mael Rouxel-Labbé 57148ce564 Update ToS2 examples 2021-03-22 16:45:58 +01:00
Mael Rouxel-Labbé 618b83b00a Update ToS2 benchmarks 2021-03-22 16:44:28 +01:00
Mael Rouxel-Labbé 4973c64e60 Add arc_on_sphere_2 sampling + update the demo framework with ToS2 code 2021-03-22 16:43:25 +01:00
Maxime Gimeno bdc72bf60a Add missing files 2021-03-22 14:39:37 +01:00
Mael Rouxel-Labbé 34f2afdb41 Add utility functions for Circular_arc_3 subsampling 2021-03-20 19:57:26 +01:00
Mael Rouxel-Labbé 23658a0de6 Work on ToS2 (add duals, complete traits API in T classes, fix sanity checks...) 2021-03-20 19:56:10 +01:00
Mael Rouxel-Labbé 0a1a120725 Various fixes for location, (range) insertions
Missing "lt = ..."
Broken spatial sorting
Broken SFINAE for range insertion
Remove ghost edge for dimension 1 (useless, just use the check in locate_edge)
etc.
2021-03-20 19:52:38 +01:00
Mael Rouxel-Labbé 3aaaa100c5 Modernize calls to push_back 2021-03-20 17:44:39 +01:00
Mael Rouxel-Labbé cb2bcb9102 Remove ToS2::delete_faces() 2021-03-20 17:43:56 +01:00
Mael Rouxel-Labbé 4d86f9f7d2 Fix data format 2021-03-19 16:23:41 +01:00
Mael Rouxel-Labbé a78d86e709 Don't lose precision due to internal stringstreams 2021-03-19 12:56:12 +01:00
Mael Rouxel-Labbé d1d66da709 Generalize OFF output functions to CGAL::ToS2 (from CGAL::DToS2) 2021-03-19 12:55:36 +01:00
Maxime Gimeno 7eefc0152a Upgrade demo to Qt5 and modern openGL (base don Circular_kernel_3 demo) 2021-03-16 10:50:20 +01:00
Mael Rouxel-Labbé 35d059cf11 Tiny rephrase 2021-02-03 11:13:16 +01:00
Mael Rouxel-Labbé fbccf05bd5 Minor code reorganisation to use is_ghost(Edge) 2021-02-03 10:56:06 +01:00
Mael Rouxel-Labbé dc1d1dfbfa Doc fixes after Round 3
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Triangulation_on_sphere_2/3rd_round
2021-02-03 10:55:34 +01:00
Mael Rouxel-Labbé df32032470 Misc doc fixes 2021-02-01 12:32:50 +01:00
Mael Rouxel-Labbé 8efb4886ab Fix typo 2021-02-01 11:19:18 +01:00
Mael Rouxel-Labbé df36355f4e Rename point set 2021-02-01 11:10:46 +01:00
Mael Rouxel-Labbé 8d8ddfb0ff Remove erroneous statement about CH 2021-02-01 11:09:06 +01:00
Mael Rouxel-Labbé ad2e691dac Purge undocumented traits from ref manual 2021-02-01 11:06:16 +01:00
Mael Rouxel-Labbé 240ec38dc4 Fix outdated API usage in example 2021-02-01 11:02:12 +01:00
Mael Rouxel-Labbé 70d7639c23 Do not use delta if the kernel can handle algebraic coordinates 2021-02-01 10:51:07 +01:00
Mael Rouxel-Labbé 48685590ac Get rid of unused doc group 2021-02-01 10:50:15 +01:00
Mael Rouxel-Labbé acbaccfe11 Add namespace for i/ostream in vertex concept 2021-02-01 10:50:01 +01:00
Mael Rouxel-Labbé 4e99206792 Move demo data to Tos2/examples 2021-02-01 10:35:58 +01:00
Mael Rouxel-Labbé d1a187c9f4 Fix documentation of OUTSIDE_CONVEX|AFFINE_HULL (locate type) 2021-01-31 12:53:01 +01:00
Mael Rouxel-Labbé 640dffc12b Misc cleaning 2021-01-31 12:50:52 +01:00
Mael Rouxel-Labbé c5ce2c0e3f Return the correct vertex when TOO CLOSE happens with Tr::dimension < 2 2021-01-31 12:30:34 +01:00
Mael Rouxel-Labbé 0e351785ec Remove superfluous documentation in traits models 2021-01-31 12:29:46 +01:00
Mael Rouxel-Labbé a5a96acd29 Clarify who sets the sphere's parameters + range constructor with center/radius 2021-01-31 12:28:58 +01:00
Mael Rouxel-Labbé 919f58f94b Undocument Geographical Coordinates traits, for now
The issue is that currently all predicates and constructions are based
on a construction to convert from lat/long towards R^3, so the benefits
of the exact representation are lost.

Still, it might be useful in the current state, so just leaving it undocumented.
2021-01-31 12:28:13 +01:00
Mael Rouxel-Labbé 225d1f5d47 Misc minor doc fixes 2021-01-31 12:04:19 +01:00
Mael Rouxel-Labbé a30486a486 Implement + document ranges 2021-01-31 12:03:10 +01:00
Mael Rouxel-Labbé b8014fa7e9 First implementation of Geographical Coordinates (lazily constructs a P3 atm...) 2021-01-29 18:57:09 +01:00
Mael Rouxel-Labbé c1fc62ef14 Specify namespace to avoid calling global functions 2021-01-29 18:56:36 +01:00
Mael Rouxel-Labbé 959bf3ba46 Fix bad value_type 2021-01-29 18:56:21 +01:00
Mael Rouxel-Labbé cb04232036 Fix bad copy paste 2021-01-29 18:55:54 +01:00
Mael Rouxel-Labbé 6b8a2e0a65 const correctness in concepts 2021-01-29 18:55:38 +01:00
Mael Rouxel-Labbé 34ac7eb6bd Rename tests to avoid conflicts with other packages 2021-01-29 14:26:58 +01:00
Mael Rouxel-Labbé 6896211d5f Tiny fixes 2021-01-29 13:37:28 +01:00
Mael Rouxel-Labbé 3e5e2772f8 Remove superfluous traits functions 2021-01-29 12:26:09 +01:00
Mael Rouxel-Labbé 75129563a6 Update existing tests 2021-01-29 12:24:05 +01:00
Mael Rouxel-Labbé 676d309f16 Simplify location function and separation tests to avoid redundant checks 2021-01-29 12:23:19 +01:00
Mael Rouxel-Labbé 756a3c4d9a Add missing getters for edge geometry 2021-01-29 12:22:43 +01:00
Mael Rouxel-Labbé e6dba91060 Update traits classes to new spec 2021-01-29 12:22:16 +01:00
Mael Rouxel-Labbé dfd59a5504 Misc minor fixes 2021-01-29 12:21:40 +01:00
Mael Rouxel-Labbé 19c6ab6e3c Fix implementation of dual fonctions in DTOS2 2021-01-29 12:19:33 +01:00
Mael Rouxel-Labbé fa63bdb96d Fix call to spatial sorting on the sphere 2021-01-29 12:18:42 +01:00
Mael Rouxel-Labbé d19fa52845 Minor fixes to examples 2021-01-29 12:18:11 +01:00
Mael Rouxel-Labbé e4eff7b9a0 Various doc fixes / enhancements 2021-01-29 12:17:29 +01:00
Mael Rouxel-Labbé e6dcea8d7f Start cleaning TOS2 demo 2021-01-29 12:11:38 +01:00
Mael Rouxel-Labbé 7c6381e972 Simplify test_dim_down 2021-01-28 19:08:55 +01:00
Mael Rouxel-Labbé 494f16179b Add missing documented convenience function 2021-01-28 19:08:26 +01:00
Mael Rouxel-Labbé 5cda092ace Remove _in_conflict_flag member (tds_data is used) 2021-01-28 18:32:54 +01:00
Mael Rouxel-Labbé c2d08b9dc2 Remove unused _ghost member of ToS2 2021-01-28 18:32:06 +01:00
Mael Rouxel-Labbé a9da42f048 Extract third point insertion from outside-affine-hull insertion functions 2021-01-28 18:27:33 +01:00
Mael Rouxel-Labbé f2c844ec51 Remove ToS2's old IO functions 2021-01-28 18:26:03 +01:00
Mael Rouxel-Labbé ec85832e51 Use tds_data in conflict gathering in ToS2 2021-01-28 18:25:42 +01:00
Mael Rouxel-Labbé f0e8b8cc77 Add write_OFF for ToS2 2021-01-28 18:24:20 +01:00
Mael Rouxel-Labbé 18a43d114e Add an example of range insertion for ToS2 2021-01-28 18:23:15 +01:00
Mael Rouxel-Labbé 7024441ff2 Fix ToS2::dimension()'s documentation 2021-01-28 18:22:42 +01:00
Mael Rouxel-Labbé 107eaba86d Partial implementation of arc-duals 2021-01-26 14:24:25 +01:00
Mael Rouxel-Labbé 28bc619f9b ToSTraits_2 should refine 3D spatial sorting concept (used by the sort on S2) 2021-01-26 14:23:01 +01:00
Mael Rouxel-Labbé 7aef5d40a1 Add convenience overloads for insert() with P3 input (instead of pts on sphere)
Also use functions that perform Hilbert sort on the sphere rather than 3D
2021-01-26 14:22:33 +01:00
Mael Rouxel-Labbé ae5dcbd0c4 Fix arc segment type in DToS2 doc 2021-01-26 14:19:56 +01:00
Mael Rouxel-Labbé 612885d370 Re-order functions for clarity 2020-11-30 18:24:34 +01:00
Mael Rouxel-Labbé 199e2e6395 Fix broken locate() in degenerate cases 2020-11-30 18:23:32 +01:00
Mael Rouxel-Labbé 6fd69ccf8b Various traits fixes 2020-11-30 18:22:10 +01:00
Mael Rouxel-Labbé 98509e503c Doc improvements (Feature Round #1 Reviews) 2020-10-19 16:17:34 +02:00
Andreas Fabri be8ebfae2e Rename examples 2020-09-22 14:27:53 +02:00
Andreas Fabri 12e4d9f446 Trivial fixes 2020-09-22 14:27:53 +02:00
Mael Rouxel-Labbé db1823a470 Merge remote-tracking branch 'cgal/master' into Triangulation_on_sphere_2-GF 2020-09-22 14:27:09 +02:00
Mael Rouxel-Labbé 33c2aa8f16 V3 of ToS2 reference manual:
- Get rid of _3 predicates/constructions, express things on the sphere
- Add straight/curved duals
- Spherical Kernels
- Use Face_data
- Many small fixes
2020-09-22 14:13:18 +02:00
Mael Rouxel-Labbé 298c15410a WIP on ToS2 traits specification 2020-09-22 14:13:18 +02:00
Mael Rouxel-Labbé d47ca6ffd5 Simplify code and update API 2020-09-22 14:13:18 +02:00
Mael Rouxel-Labbé 51c7d2a966 More documentation 2020-09-22 14:13:18 +02:00
Mael Rouxel-Labbé def3eb4406 Add some documentation 2020-09-22 14:13:17 +02:00
Mael Rouxel-Labbé d7a5bce40b Move some files 2020-09-22 14:13:17 +02:00
Mael Rouxel-Labbé b907658e5a Fix license header and includes 2020-09-22 14:13:17 +02:00
Mael Rouxel-Labbé a2c80c7d93 Various major improvements 2020-09-22 14:10:24 +02:00
Mael Rouxel-Labbé 729182df54 Clean Cmakelists 2020-09-22 14:10:24 +02:00
Mael Rouxel-Labbé f04042aa96 Add vertex/face base models 2020-09-22 14:10:24 +02:00
Mael Rouxel-Labbé 2d8cdeeddb Remove useless cast 2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé af511dc826 Remove messy and useless traits 2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé c0b6d7652d Minor code cleaning 2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé c018b4c033 Update random generator
See also be700acaba for Triangulation_2.h
2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé 060e2a7757 Rename traits member: 'sphere' > 'center' 2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé e12824d094 Remove irrelevant file and move bencharmarks to /benchmark/ 2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé c3554d6b38 Minor example changes 2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé 0147968d66 Bug fixes and clean/update/fix TOS2 tests 2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé 96f1644529 Numerous bug fixes and code improvements 2020-09-22 14:02:28 +02:00
Mael Rouxel-Labbé 406488c86a Add some package structure (package info, license, cmakelists) 2020-09-22 14:01:54 +02:00
Mael Rouxel-Labbé 24f78c106f Clean useless macro 2020-09-22 14:01:46 +02:00
Mael Rouxel-Labbé 738d1b07f9 Fix returning 'TOO_CLOSE' for a locate on a point (should be 'VERTEX') 2020-09-22 14:01:46 +02:00
Mael Rouxel-Labbé 10a07914be Fix warnings 2020-09-22 14:01:46 +02:00
Mael Rouxel-Labbé 8648478b9a Improve reader sanity 2020-09-22 13:45:46 +02:00
Sébastien Loriot e48bed20cc fix call to inherited function 2016-07-04 11:35:52 +02:00
Sébastien Loriot 1154a23b50 add cmake script for examples 2016-07-04 11:24:40 +02:00
Claudia Werner 93c5bceda9 cleaning up + comments 2013-02-15 10:50:51 +01:00
Claudia Werner e8775c9c96 moved test to new subfolder 2013-02-13 16:39:19 +01:00
Claudia Werner 431c694a96 added data for testing mesh_sphere 2013-02-13 16:36:18 +01:00
Claudia Werner eacd80b853 changed include 2013-02-13 16:19:41 +01:00
Claudia Werner 50a02a7910 moved tests to subfolder 2013-02-13 16:11:35 +01:00
Claudia Werner 136846efca added new test for vertex-remove 2013-02-13 15:41:22 +01:00
Claudia Werner 1719dc1120 added some comments. 2013-02-13 15:38:20 +01:00
Claudia Werner 9497a09432 added some comments to Triangulation_sphere_2. 2013-02-13 13:33:38 +01:00
Sébastien Loriot acaa740eb5 add missing this-> to use base class functions 2013-02-12 17:15:00 +01:00
Sébastien Loriot af5c5d542e add missing includes 2013-02-12 17:14:42 +01:00
Claudia Werner 181943c8a3 fixed bug in test_dim_down 2013-02-11 09:30:25 +01:00
Claudia Werner fd24a4d0b2 moved Mesh_on_sphere_2 demo to a temp folder. Will be replaced by a new one. 2013-02-08 14:27:09 +01:00
Claudia Werner 0bd623bf5d removed wasted std::cout 2013-02-01 16:51:43 +01:00
Claudia Werner f5b980c13e added CMakeList to Triangulation_demo . 2013-02-01 11:08:36 +01:00
Claudia Werner 0adc2cb42c cleaning-ups in test 2013-01-31 10:24:59 +01:00
Claudia Werner 860abc323f improved test_mesh (added more test-cases). 2013-01-25 15:31:23 +01:00
Claudia Werner 693b7a1e02 fixed bug in insert in DT (special cases). 2013-01-22 13:14:38 +01:00
Claudia Werner 3c0d9baeab deleted Delaunay_tri_face_base. 2013-01-22 13:11:14 +01:00
Claudia Werner 585abd858c modified test_projection to run with the new traits-class (which was modified before Christmas). 2013-01-22 11:20:21 +01:00