Mael Rouxel-Labbé
bc188bc4a1
Add missing copy ToS2 copy operator
2021-03-23 10:56:53 +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é
4973c64e60
Add arc_on_sphere_2 sampling + update the demo framework with ToS2 code
2021-03-22 16:43:25 +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é
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é
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é
70d7639c23
Do not use delta if the kernel can handle algebraic coordinates
2021-02-01 10:51:07 +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é
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é
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é
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é
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é
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é
107eaba86d
Partial implementation of arc-duals
2021-01-26 14:24:25 +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é
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
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é
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é
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é
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é
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é
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
Claudia Werner
93c5bceda9
cleaning up + comments
2013-02-15 10:50:51 +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
Claudia Werner
181943c8a3
fixed bug in test_dim_down
2013-02-11 09:30:25 +01:00
Claudia Werner
0bd623bf5d
removed wasted std::cout
2013-02-01 16:51:43 +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
75b49d3a99
fixed bug in iterators in Triangulation_sphere.
2013-01-22 08:26:23 +01:00
Claudia Werner
e230e790c6
fixed typo in Triangulation_sphere_2
2013-01-18 15:51:42 +01:00
Claudia Werner
a30db9375f
added first version of Constrained_Delaunay_tri.
2013-01-16 13:50:43 +01:00
Claudia Werner
f565e71a34
added line_face_circulator
2013-01-16 13:49:24 +01:00
Claudia Werner
00a6865909
fixed error concerning set_radius in traits.
2013-01-15 08:38:56 +01:00
Claudia Werner
1d7e420d44
fixed typo
2013-01-14 10:57:55 +01:00
Claudia Werner
183d2979aa
remove _radius from Triangulation_sphere_2
2012-12-19 14:28:44 +01:00
Claudia Werner
60fa3e2195
adapted names in demo/Mesh to new names in Triangulation-classes
2012-12-18 16:46:48 +01:00
Claudia Werner
e8a0c6350b
did some cleaning ups.
2012-12-18 16:46:48 +01:00
Sébastien Loriot
c1717f6a4a
add a way to change the center of the sphere with the projection traits
2012-12-18 16:05:15 +01:00
Sébastien Loriot
66fd4df238
fix typo in include filename
2012-12-18 16:02:57 +01:00
Claudia Werner
7ee783b1ec
added some test cases .
2012-12-11 10:21:23 +01:00
Claudia Werner
c95ee3cc28
Fixed bug in projection of points (too many computations).
2012-12-10 13:49:09 +01:00
Claudia Werner
2816a4659c
implemented Projection_traits. First running version.
2012-12-06 11:47:24 +01:00
Claudia Werner
d3aeb2defb
changed insert in Delaunay_tri. Runningtime much better now.
2012-12-03 14:32:46 +01:00
Claudia Werner
0913a811a6
some cleaning ups in Delaunay_triangulation_sphere
2012-12-03 09:35:09 +01:00
Claudia Werner
01c1da3019
Added functions for voronoi. Not implemented for Proection_sphere_traits_3 yet.
2012-11-30 13:27:11 +01:00
Claudia Werner
4bf8999d8d
worked on tests and fixed another bug in location/insertion (locate typ vertex)
2012-11-29 15:59:04 +01:00
Claudia Werner
3090947b55
optimized location of illegal points (too close to existing points)
2012-11-29 10:59:00 +01:00
Claudia Werner
63e7880661
some cleaning-ups in Triangulation_sphere_2.h
2012-11-29 10:08:30 +01:00
Claudia Werner
b3d9d4b4d5
renamed Triangulation_on_sphere and Tri.._face_base_on_sphere
2012-11-29 09:05:17 +01:00
Claudia Werner
19296a951c
fixed bug in perturbation from last commit.
2012-11-28 15:10:05 +01:00
Claudia Werner
3ae19a3bca
forgot to change code before last commit (after renaming classes) fixed know -
...
last commit will not be compiled without error.
2012-11-27 15:56:53 +01:00
Claudia Werner
cb71f8fc0b
renamed and removed several files
2012-11-27 14:51:34 +01:00
Claudia Werner
4f2792fd30
changed constructors in TOS
2012-11-27 12:49:45 +01:00
Claudia Werner
10faa1e1be
Added first version of Projection_sphere_traits_3 (not ready yet).
2012-11-27 10:55:28 +01:00