Efi Fogel
e8cb005bde
Used the non-intersection surface-sweep for vertical decomposition
2017-05-28 16:19:03 +03:00
Efi Fogel
ea7d71517b
Fixed hierarchy of subcurve types used by the surface-sweep procedure
2017-05-28 11:51:12 +03:00
Efi Fogel
3e6de6b439
Renamed sweep-line to surface-sweep and cleaned up
2017-05-27 12:30:41 +03:00
Efi Fogel
65406224fa
Removed dedundant type definition of Arr_vertex_handle
2017-05-22 14:49:31 +03:00
Mael Rouxel-Labbé
cd2a562ffa
Fixed improper guards against the inclusion of deprecated headers
2017-05-16 10:17:41 +02:00
Efi Fogel
b50ccf6e1f
Pacify VS
2017-05-01 02:22:49 +03:00
Maxime Gimeno
289012269b
Add model of in the doc.
2017-04-24 09:58:25 +02:00
Maxime Gimeno
21e20c66cf
Precise the model of ConstRange and fix the templated argument of the const handles to XXX_const_iterator.
2017-04-24 09:58:25 +02:00
Maxime Gimeno
dba36d50a5
fix face_handles()
2017-04-24 09:58:25 +02:00
Maxime Gimeno
9d2487cb7e
Typo fixes.
2017-04-24 09:58:25 +02:00
Maxime Gimeno
3016500246
Add_range_support for Arrangement Dcel.
2017-04-24 09:56:21 +02:00
Efi Fogel
8f63f6857e
Removed out of CGAL namespace
2017-04-18 15:00:44 +03:00
Efi Fogel
37d4f89148
Made the polyhedron a model of FaceGraph
2017-04-18 13:01:03 +03:00
Christian Gagneraud
d8502c0469
Fix a few typos in the documentation
2017-04-16 13:20:12 +12:00
Efi Fogel
a21d0e561f
Added Segment_2 and X_monotone_segment_2 types for backward compatibility
2017-03-21 14:43:18 +02:00
Sébastien Loriot
889307a486
Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' into HEAD
2017-03-16 09:44:58 +01:00
Sébastien Loriot
6075c8fbcb
fix unused variable warning
2017-03-16 09:44:17 +01:00
Sébastien Loriot
b64cca5fdf
Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' into HEAD
2017-03-14 17:10:19 +01:00
daillen
81baa282a2
Fixed typos in Basic_sweep_line_2
2017-03-10 13:12:30 -03:00
Efi Fogel
e7d6456cdf
remove invalid precondition
2017-03-09 11:16:39 +01:00
Sébastien Loriot
02705704fb
add missing license include directive
2017-01-19 15:20:27 +01:00
Sébastien Loriot
e28842cf76
add missing include guards
2017-01-19 15:20:27 +01:00
Sébastien Loriot
50510c05ea
add include directive for license of all GPL header files
...
done using:
ack-grep "^GPL" */package_info/*/license.txt -l | awk -F "/" '{print $1}' > /tmp/gpl_packages
for i in `cat /tmp/gpl_packages | \
grep -v Operations_on_polyhedra | \
grep -v Algebraic_kernel_for_circles | \
grep -v Algebraic_kernel_for_spheres | \
grep -v Polyhedron_IO`;
do
echo $i
python Scripts/developer_scripts/add_license_in_pkg_header.py $i
done
python Scripts/developer_scripts/add_license_in_pkg_header.py Operations_on_polyhedra Polygon_mesh_processing
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_circles Circular_kernel_2
python Scripts/developer_scripts/add_license_in_pkg_header.py Algebraic_kernel_for_spheres Circular_kernel_3
python Scripts/developer_scripts/add_license_in_pkg_header.py Polyhedron_IO Polyhedron
2017-01-19 15:20:25 +01:00
Andreas Fabri
4342ac3821
Update Arr_counting_traits_2.h
2017-01-13 09:52:36 +01:00
Laurent Rineau
3f4bcabe13
Merge pull request #1756 from MaelRL/Arrangement_2-Fix_typos
...
Fixed some typos in Arrangement_2
2016-12-22 17:11:08 +01:00
andrew morton
bfa7aca7c2
Fix spelling of 'matches'
2016-12-17 13:57:54 -07:00
Mael Rouxel-Labbé
2038e558b2
Fixed typos in doc and comments
2016-12-09 11:27:17 +01:00
Laurent Rineau
8c2efe9549
Merge pull request #1642 from afabri/Arrangement_2-static-GF
...
Arrangement_2: make some variables atomic or tss
2016-12-02 11:36:15 +01:00
Andreas Fabri
21149fa574
Deal with the case CGAL_NO_ATOMIC
2016-11-02 17:33:54 +01:00
Andreas Fabri
5202e26ada
make some variables atomic or tss
2016-11-01 14:54:56 +01:00
Andreas Fabri
38d4e4ce23
Remove unused uncompilable file Hyperbolic_arc_2.h
2016-11-01 10:00:56 +01:00
Laurent Rineau
a00e886ee0
Merge pull request #1595 from afabri/Arrangement-fix_Rational_arc_d_1-GF
...
Arrangement_2: fix Continuous_rational_arc_d_1
2016-10-24 11:47:06 +02:00
Laurent Rineau
b93ba2109a
Fix the warning
...
[ 50%] Building CXX object CMakeFiles/test_rational_function_traits_2.dir/test_rational_function_traits_2.cpp.obj
C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe @C:\Users\afabri\AppData\Local\Temp\nm6849.tmp
test_rational_function_traits_2.cpp
C:\CGAL\test\CGAL-4.10-Ic-28\include\CGAL/Arr_rat_arc/Rational_arc_d_1.h(1833) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
C:\CGAL\test\CGAL-4.10-Ic-28\include\CGAL/Arr_rat_arc/Rational_arc_d_1.h(1833) : while compiling class template member function 'bool CGAL::Arr_rational_arc::Continuous_rational_arc_d_1<Algebraic_kernel_>::is_left_to_right(void) const'
with
[
Algebraic_kernel_=CGAL::Algebraic_kernel_d_1<Number_type>
]
C:\CGAL\test\CGAL-4.10-Ic-28\cmake\platforms\x64_Cygwin-Windows8_MSVC2012-Debug-64bits\test\Arrangement_on_surface_2\test_rational_function_traits_2.cpp(250) : see reference to function template instantiation 'bool CGAL::Arr_rational_arc::Continuous_rational_arc_d_1<Algebraic_kernel_>::is_left_to_right(void) const' being compiled
with
[
Algebraic_kernel_=CGAL::Algebraic_kernel_d_1<Number_type>
]
C:\CGAL\test\CGAL-4.10-Ic-28\cmake\platforms\x64_Cygwin-Windows8_MSVC2012-Debug-64bits\test\Arrangement_on_surface_2\test_rational_function_traits_2.cpp(174) : see reference to class template instantiation 'CGAL::Arr_rational_arc::Continuous_rational_arc_d_1<Algebraic_kernel_>' being compiled
with
[
Algebraic_kernel_=CGAL::Algebraic_kernel_d_1<Number_type>
]
2016-10-21 10:12:53 +02:00
Laurent Rineau
3e0ab881c1
Merge pull request #1584 from afabri/Installation-compute_dependencies-GF
...
Make Algebraic_kernel_d independent from CGAL/Arr_enum.h
2016-10-20 09:47:42 +02:00
Laurent Rineau
c826500c7d
Merge pull request #1551 from mglisse/Number_types-gmpxx_coercion-glisse
...
Misc GMPXX fixes
2016-10-20 09:47:39 +02:00
Andreas Fabri
59925a27e1
Replace && with & as we do want to test a single bit
2016-10-19 14:00:47 +02:00
Andreas Fabri
554bd0fd26
Make Algebraic_kernel_d independent from CGAL/Arr_enum.h
...
Introduce Box_parameterization_2 in CGAL/enum.h
Add a typedef and constants in the Arrangement package to stay bw compatible
2016-10-17 11:56:43 +02:00
Marc Glisse
232fc7ecf0
Help type deduction for expression template number types.
2016-10-13 11:25:59 +02:00
Sébastien Loriot
733e948e28
move file to archive and remove dont_submit
2016-10-06 09:53:40 +02:00
Laurent Rineau
223c1cf5a4
Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
...
Compute and fix packages dependencies
2016-10-05 13:11:04 +02:00
Andreas Fabri
40e9c6f735
Move specializations of graph_traits the packages that are concerned
2016-09-30 15:22:29 +02:00
Efi Fogel
d7678c44fb
Cleaned up
2016-09-30 09:24:24 +02:00
Efi Fogel
52292c825c
Enhanced debug messages & Cleaned up
2016-09-30 09:24:24 +02:00
Efi Fogel
72e114fb3f
Enhanced debug messages & Cleaned up
2016-09-30 09:24:24 +02:00
Laurent Rineau
44b4199878
Merge pull request #1366 from lrineau/CGAL-remove_support_for_LEDA_5_and_before-GF
...
Remove all usage of CGAL_LEDA_VERSION
2016-08-29 12:32:24 +02:00
Laurent Rineau
3481352110
Merge pull request #1361 from sloriot/AOS_2-fix_for_polycurve_traits from 'cgal/releases/CGAL-4.8-branch'
2016-08-29 12:13:31 +02:00
Laurent Rineau
0c690014b7
Remove all usage of CGAL_LEDA_VERSION
...
Now, LEDA version >= 6.0 is required if `CGAL_USE_LEDA` is toggled.
2016-08-25 14:38:16 +02:00
Sébastien Loriot
6987c417b2
fix Compare_y_at_x_2 of traits based on Arr_polycurve_basic_traits_2
...
this fix an issue when an xmonotone curve is vertical and not
oriented from left-to-right, as the xmonotone curve was assumed
to be oriented from left-to-right.
Note that in the case of a vertical curve, oriented from left-to-right
means from down-to-up
2016-08-24 11:27:20 +02:00
Sébastien Loriot
43bba7d980
add missing this-> when CGAL_ALWAYS_LEFT_TO_RIGHT is defined
2016-08-24 11:26:42 +02:00
Laurent Rineau
00e6e03d5c
Merge pull request #785 from afabri/CGAL-missing_includes-GF
...
Partial cleanup of issue #595 Part2
2016-03-24 17:02:27 +01:00
Andreas Fabri
eb90e8e3e1
Include consistently <CGAL/property_map.h>
2016-02-24 12:09:36 +01:00
Sébastien Loriot
5be27c2998
Merge remote-tracking branch 'cgal/releases/CGAL-4.7-branch' into HEAD
2016-02-22 08:17:10 +01:00
Efi Fogel
7293d45d98
A fix by Iddo for the case where the curve is closed (first and last points are the same)
2016-02-22 08:13:48 +01:00
Andreas Fabri
600416bfa2
remove a commented include
2016-02-15 15:03:35 +01:00
Sebastien Loriot
48da87c2b5
Merge pull request #732 from afabri/CGAL-replace_bind-GF
...
Replace all std::bind with boost::bind
2016-02-07 18:21:05 +01:00
Sébastien Loriot
ba0c304859
remove emacs user commands
2016-02-04 17:36:31 +01:00
Andreas Fabri
52f8129579
replace all std::bind with boost::bind
2016-02-04 08:59:38 +01:00
Sébastien Loriot
96656bbbdd
Add missing const qualifiers
2016-02-03 15:42:51 +01:00
Sébastien Loriot
8cee2ef1dd
Merge pull request #686 from afabri/Kernel_fix-warnings-GF
...
Fix warnings concerning indentation and unused parameter
2016-02-03 09:49:54 +01:00
Sébastien Loriot
b406fb8a83
use special case is only for visual not clang
2016-01-29 14:46:30 +01:00
Sébastien Loriot
40de762742
fix indentation warning
2016-01-29 14:20:20 +01:00
Efi Fogel
c26bf713b2
Hid unused variables
2016-01-28 13:40:54 +02:00
Efi Fogel
7484d24f34
Prevented min/max macro expansion to pacify MSVC
2016-01-28 13:40:43 +02:00
Efi Fogel
f1161c6e6b
Hid unused variables
2016-01-27 01:55:40 +02:00
Efi Fogel
bce5aa428e
Used operational code instead of deprecated code. Used predefined type (size_t) instead of int
2016-01-21 19:27:01 +02:00
Efi Fogel
f8c83d82f9
Added back deprecated member functions begin_subcurves() and end_subcurves()
2016-01-19 15:48:16 +01:00
Efi Fogel
be691a3644
Supported CGAL::Segment_2<Kernel>
2016-01-19 15:48:16 +01:00
Efi Fogel
9750733dfb
Moved IO operations from Polycurve_2 to Polycirve_2_iostream.h
2016-01-19 15:48:16 +01:00
Efi Fogel
4486cba188
replaced {begin,end}_{points,subcurvs} with {points,subcurvs}_{begin,end} moved IO operations to Polycirve_2_iostream.h
2016-01-19 15:48:16 +01:00
Efi Fogel
d405c9aa51
replaced {begin,end}_{points,subcurvs} with {points,subcurvs}_{begin,end}
2016-01-19 15:48:15 +01:00
Efi Fogel
cf01ef7a26
replaced {begin,end}_{points,subcurvs} with {points,subcurvs}_{begin,end} and included Polycurve_2_iostream.h
2016-01-19 15:48:15 +01:00
Efi Fogel
101d1bcefc
replaced {begin,end}_{points,subcurvs} with {points,subcurvs}_{begin,end}
2016-01-19 15:48:15 +01:00
Efi Fogel
245f11ac68
Initialized res to pacifiy compiler warnings
2016-01-19 15:48:15 +01:00
Efi Fogel
92544a44ab
Cleanup
2016-01-19 15:48:14 +01:00
Efi Fogel
a013201184
Cleanup
2016-01-19 15:48:12 +01:00
Andreas Fabri
c32b00acce
partial cleanup of issue #595
2016-01-08 17:55:08 +01:00
Sébastien Loriot
4b4723752a
Merge remote-tracking branch 'cgal/releases/CGAL-4.7-branch'
2015-12-28 10:09:01 +01:00
Sebastien Loriot
a905f55a29
Merge pull request #497 from sloriot/AOS-leak_in_trapezoidal_decomposition
...
fix a leak in the trapezoidal decomposition that occurs when a curve is removed
2015-12-28 10:07:16 +01:00
Sébastien Loriot
287a5078ea
Merge remote-tracking branch 'cgal/releases/CGAL-4.7-branch'
2015-12-10 20:56:52 +01:00
Sébastien Loriot
c5ff83ce3f
fix IO of polycurves
...
on the behalf of @efifogel
2015-12-07 09:21:05 +01:00
Sébastien Loriot
04a8230daa
fix a leak in the trapezoidal decomposition that occurs when a curve is removed
...
A dag node contains a variant that amongst other can point onto a
Tr_active_trapezoid. This class inherits from Handle in order to
reference count the data (of type Tr_active_trapezoid::Data) that
contains 4 neightbors, each being of type Tr_active_trapezoid.
The problem is that if a dag node is no longer used and if it
holds a instance of a Tr_active_trapezoid which neighbors trapezoid
are not cleared, we might have objects of type Tr_active_trapezoid
pointing onto each others preventing them from being deleted.
2015-11-23 14:49:52 +01:00
Efi Fogel
29bec5b0e4
Added missing this->
2015-11-18 11:00:01 +01:00
Efi Fogel
ad86fc799f
Added missing copy constructor
2015-11-18 11:00:00 +01:00
Efi Fogel
cd36eed4f4
Fixed Compare_y_at_x predicate. In Particular, correctly handled the case of vertical curves
2015-11-18 10:59:58 +01:00
Sebastien Loriot
bb85ae0179
Merge pull request #474 from afabri/BGL-suppress_warning-GF
...
suppress warning in boost as this has to be solved upstream
2015-11-17 13:21:05 +01:00
Efi Fogel
49ce1f0f05
Added missing this->
2015-11-16 09:53:08 +02:00
Efi Fogel
2a9c8f1f5b
Added missing copy constructor
2015-11-15 12:19:54 +02:00
Efi Fogel
3b96690d37
Fixed Compare_y_at_x predicate. In Particular, correctly handled the case of vertical curves
2015-11-14 11:10:43 +02:00
Andreas Fabri
bf6cfaa8d9
include header which pragma pushes a warning
2015-11-14 09:44:04 +01:00
Sebastien Loriot
91dd3e6a1e
Merge pull request #369 from sloriot/AOS-removal_optimisation-efifogel_sloriot
...
Arr_2: removal optimisation
2015-10-22 08:49:46 +02:00
Sébastien Loriot
cddf8c3ab8
use pointer of simplices to be more consistant
2015-10-06 15:17:06 +02:00
Sébastien Loriot
fa3fe631f1
fix a memory leak: curves of edges and point of vertices deleted must be deleted
2015-10-05 17:20:48 +02:00
Sebastien Loriot
2243728001
Merge pull request #373 from efifogel/AOS-ccb_removal_optimization-efif
...
Aos ccb removal optimization efif
2015-10-01 11:02:10 +02:00
Efi Fogel
9bfaa542d8
Introduced _move_all_isolated_vertices() and used it
2015-09-28 16:57:44 +03:00
Efi Fogel
452444e704
Introduced _move_all_inner_ccb() and used it
2015-09-28 15:04:14 +03:00
Efi Fogel
0f72382580
Pure aesthetic changes
2015-09-28 12:20:18 +03:00
Sébastien Loriot
b92e34fcfd
also do the swap if f1!=f2
2015-09-27 16:08:14 +02:00
Sébastien Loriot
d81b0b4545
update face type to give access to the ccb containers
2015-09-27 15:48:14 +02:00
Sébastien Loriot
9968192330
enrich Arr_accessor of some functions to allow dcel manipulations
2015-09-27 15:30:02 +02:00
Efi Fogel
ecf346287c
Clean up the code of:
...
_remove_edge(DHalfedge* e, bool remove_source, bool remove_target).
If (f1 != f2) then retain the face that has a larger number of inner ccbs.
Otherwise, continue as before...
2015-09-26 14:48:56 +03:00
Sébastien Loriot
cdfc7f1c31
Merge branch 'old/CGAL-split_packages-GF' into CGAL-split_packages-GF
2015-09-23 10:08:41 +02:00
Sébastien Loriot
621a134f3a
add an alternative way to remove edges by remove all elements at the same time
...
Here is the output of benchmark program polygon_set_2_join.cpp on my machine
current version (polygon_set_2_join):
Timer for join is 0.316
Timer for remove_redundant_edges is 0.08799999999999997
Timer for _reset_faces is 0
Time for 402 grid crossing polygons 0.404
Timer for join is 1.512
Timer for remove_redundant_edges is 0.008000000000000007
Timer for _reset_faces is 0
Time for 1000 random polygons 1.52s
Timer for join is 3.108
Timer for remove_redundant_edges is 0
Timer for _reset_faces is 0
Time for 100000 nested polygons 3.108s
Timer for join is 6.103999999999999
Timer for remove_redundant_edges is 0.01200000000000045
Timer for _reset_faces is 0.003999999999999559
Time for 40000 disjoint polygons 6.119999999999999s
current version (polygon_set_2_join 2):
Timer for join is 0.636
Timer for remove_redundant_edges is 0.1719999999999999
Timer for _reset_faces is 0
Time for 566 grid crossing polygons 0.8079999999999999
Timer for join is 3.124000000000001
Timer for remove_redundant_edges is 0.01199999999999868
Timer for _reset_faces is 0
Time for 2000 random polygons 3.135999999999999s
Timer for join is 6.892000000000001
Timer for remove_redundant_edges is 0
Timer for _reset_faces is 0
Time for 200000 nested polygons 6.892000000000001s
Timer for join is 32.16799999999999
Timer for remove_redundant_edges is 0.04800000000000182
Timer for _reset_faces is 0.008000000000002672
Time for 160000 disjoint polygons 32.224s
2015-09-18 16:21:20 +02:00
Laurent Rineau
7ddefbdcc8
Merge pull request #297 from afabri/CGAL-assert-GF
...
assert() should not be used in CGAL headers!
2015-09-07 10:58:20 +02:00
Sébastien Loriot
f38a3e8cf9
when removing an edge, keep the face having more holes
...
the output of the benchmark program polygon_set_2_join.cpp
are similar for all input but the grid crossing:
current version (polygon_set_2_join):
Time for 402 grid crossing polygons 4.68
current version(polygon_set_2_join 2):
Time for 566 grid crossing polygons 18.804
This improves the run time but the version with CGAL_JOIN_CREATE_AN_ARRANGEMENT
defined is still faster for this example
2015-09-04 17:19:08 +02:00
Andreas Fabri
1e2ff1131e
assert -> CGAL_assertion
2015-08-27 16:51:55 +02:00
Laurent Rineau
0fd6f2fa59
Merge pull request #288 from afabri/CGAL-add_hash-GF
...
No longer forward declare struct std:hash
Fixes issues #287 and #274 .
2015-08-27 15:41:50 +02:00
Andreas Fabri
bf975ead95
No longer forward declare struct std:hash
2015-08-23 14:30:54 +02:00
Andreas Fabri
67d72675fe
split packages
2015-08-17 23:46:59 +02:00
Laurent Rineau
08666dce25
Merge pull request #179 from afabri/CGAL-add_hash-GF
...
Add boost::hash and std::hash
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/hash
Conflicts:
Installation/changes.html
2015-07-17 15:39:18 +02:00
Sébastien Loriot
2a7696c210
cast to size_t to avoid a warning by clang
2015-07-16 17:50:31 +02:00
Andreas Fabri
2dea6db3bb
Merge branch 'CGAL-add_hash-GF-old' into CGAL-add_hash-GF
...
Conflicts:
Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h
2015-07-06 10:51:23 +02:00
Andreas Fabri
dadb129147
g++ needs a forward declaration for std::hash
2015-06-02 08:46:20 +02:00
Andreas Fabri
b6850d35c0
#include <functional> and suppress struct/class warning for VC10
2015-06-01 10:42:52 +02:00
Efi Fogel
39f1e22dad
Type and typename fixes
2015-05-06 00:40:52 +03:00
Efi Fogel
0f7cb5c709
Merge branch 'MS_2-of_holes-efif-old' into MS_2-of_holes-efif
...
Conflicts:
Arrangement_on_surface_2/include/CGAL/Arr_segment_traits_2.h
Documentation/biblio/cgal_manual.bib
Minkowski_sum_2/test/Minkowski_sum_2/test_Minkowski_sum.cpp
2015-05-03 11:41:36 +03:00
Andreas Fabri
157756f3b3
Add std::hash and boost::hash for the arrangement
2015-04-29 14:30:36 +02:00
Sebastien Loriot
faee08becd
Merge pull request #56 from efifogel/Aos-Polycurve_tests-wkhan
...
Aos polycurve tests wkhan
2015-04-22 18:00:03 +02:00
Efi Fogel
a7c602449b
Commenting out unnecessary code (which some compilers barf on)
2015-04-15 09:51:22 +03:00
Philipp Möller
76a4f0da85
Replace detail/algorithm.hpp with type_traits/is_same.hpp
...
Also remove the superfluous map include
2015-04-10 13:46:13 +02:00
Philipp Möller
ae72a9f616
Replace detail/algorithm.hpp with type_traits/is_same.hpp
...
is_same is the only part of boost used in this file
2015-04-10 13:45:47 +02:00
Efi Fogel
6cab541cdb
Removed unused var. in release mode
2015-03-21 12:50:05 +02:00
Efi Fogel
b9570fad98
Updated changes.html and minor fixes discovered by the test suite
2015-02-25 09:37:24 +02:00
Efi Fogel
8724140fd2
Added this-> to access base members
2015-02-24 21:05:48 +02:00
Efi Fogel
4b941981c1
Fixed small issues found by different platforms
2015-02-24 19:22:26 +02:00
Efi Fogel
c686aed4cb
polycurve stuff
2015-02-19 20:25:25 +02:00
Efi Fogel
0e1716a7eb
polycurve
2015-02-16 11:26:39 +02:00
Efi Fogel
e35966bac3
Pacify MSVC 10
2015-02-16 01:30:10 +02:00
Efi Fogel
d190918cb2
Enhanced polycurve
2015-02-16 00:51:21 +02:00
Efi Fogel
1097c469b2
Fixed subcurve traits name
2015-02-15 11:57:42 +02:00
Efi Fogel
0c5e0ec9cf
Improved polyline and polycurve
2015-02-03 22:23:23 +02:00
Efi Fogel
93e0711a66
cleaned up (removed unnecessary members)
2015-01-15 14:58:11 +02:00
Laurent Rineau
e965b6293e
Fix compilation errors with C++11 and Boost-1.56
...
Use *explicit* conversions to `bool`, for boost::shared_ptr and
boost::optional.
2015-01-14 14:47:29 +01:00
Laurent Rineau
be079cb5a3
Fix compilation with Boost-1.56 and later
...
In Boost-1.56 and later, with C++11, boost::optional::operator bool() is
explicit.
2015-01-13 16:21:04 +01:00
Efi Fogel
587bcd1230
Fixed Parameter_space_in_x_2 and Parameter_space_in_y_2
2015-01-12 08:52:32 +02:00
Efi Fogel
69eee76b25
Added missing cases to Compare_x_2 and Compare_xy_2
2015-01-12 00:53:12 +02:00
Waqar Khan
57c672d3cc
A huge bug in the dispatching of push_back and push_front fixed. Tested by running the test suit.
2014-12-16 16:56:24 +01:00
Waqar Khan
2a7e8ae129
Fixed make_x_monotone again.
2014-12-16 15:57:14 +01:00
Waqar Khan
40eea57ebc
Code clean up.
2014-12-16 15:24:53 +01:00
Waqar Khan
0dc764ad7b
Boundary condition in make_x_monotone fixed.
2014-12-16 15:22:17 +01:00
Efi Fogel
17e261f99c
Pacify msvc 10
2014-12-13 23:48:10 +02:00
Efi Fogel
f870a0702f
Fixed for g++
2014-11-30 20:31:59 +02:00
Efi Fogel
1186fe16a8
Cleaned up. Fiexed construction from points
2014-11-30 19:17:55 +02:00
Efi Fogel
851cc2fba9
Merge branch 'Aos-Polycurve_tests-wkhan-old' into Aos-Polycurve_tests-wkhan
...
Conflicts:
Arrangement_on_surface_2/include/CGAL/Arr_polyline_traits_2.h
2014-11-30 10:49:08 +02:00
Waqar Khan
a1e6613dab
A bug in intersect functor that cause the non-cashing polylines test to fail has been fixed and tested.
2014-11-30 04:00:58 +01:00
Waqar Khan
57f9d9fd4f
Merge branch 'Aos-Polycurve_tests-wkhan' of ssh://scm.cgal.org/var/git/cgal into Aos-Polycurve_tests-wkhan
2014-11-27 13:48:46 +01:00
Waqar Khan
aa9e2724b2
Added myself in the authors name.
2014-11-27 13:48:43 +01:00
Efi Fogel
9938daf55b
cleaned eup
2014-11-27 14:16:27 +02:00
Efi Fogel
5d28dc7e5c
Removed Has_construct_x_monotone_curve_from_two_points_category. Removed traces of Parameter_space where not needed. Cleaned up
2014-11-27 14:01:32 +02:00
Efi Fogel
2ebc9965fd
Removed Has_construct_x_monotone_curve_from_two_points_category
2014-11-27 13:59:51 +02:00
Waqar Khan
28ac7a8d94
improvement in infinity support made but there are still errors while running the test suit.
2014-11-27 01:58:34 +01:00
Waqar Khan
cf3f6ad5ac
Infinity support (Linear_traits) for push_back and push_front added
2014-11-24 01:34:35 +01:00
Efi Fogel
d0b874ace1
cleaned up
2014-11-04 10:03:09 +02:00
Efi Fogel
90c16905b1
Made all traits const. Pass traits as const reference
2014-10-25 00:37:54 +03:00
Waqar Khan
6688b4c8d7
unnecessary code from intersect functor removed. Intersect Functor fixed and tested
2014-10-15 13:21:47 +02:00
Waqar Khan
8905ee6be3
Trim functors cleaned.
2014-10-15 13:21:46 +02:00
Waqar Khan
5b9abc1473
Default instantiation of Template traits removed. As that is derived from the base class.
2014-10-15 13:21:46 +02:00
Waqar Khan
f1d1763006
Intersect functor: Bug fixed and tested.
...
*Trim_traits is no longer needed.
2014-10-15 13:21:46 +02:00
Waqar Khan
64580d17d8
Bug in trim_2 fixed.
2014-10-15 13:21:45 +02:00
Waqar Khan
77258123cb
Cleaned the trim functors.
2014-10-15 13:21:45 +02:00
Waqar Khan
6861de4fa7
Trim functionality in bezier curves fixed and tested.
2014-10-15 13:21:44 +02:00
Waqar Khan
a632fe0caa
Some more bugs with Trim fixed. (typos from the previous commit)
2014-10-15 13:21:44 +02:00
Waqar Khan
ba724acfb6
A bug in Trim functor fixed.
2014-10-15 13:21:44 +02:00
Waqar Khan
79ed86f54a
Construct_opposite functor added.
2014-10-15 13:21:44 +02:00
Waqar Khan
e76962ec96
Trim functor added and tested.
2014-10-15 13:21:43 +02:00
Waqar Khan
761d74f95a
Compare_x_near_limits_2 functor added that is required by the linear_traits Arrangment
2014-10-15 13:21:43 +02:00
Waqar Khan
a4a34cf828
Old incorrect implementation of infinity supprt removed. Also Compare_x_at_coundary_2 added as this is needed for infinity support.
2014-10-15 13:21:43 +02:00
Waqar Khan
cc7eb0b1bc
Push_back and Push_front funtors now inherites operators from the base class as well.
2014-10-15 13:21:43 +02:00
Waqar Khan
83d300c5fb
incorrect implementation of functors required for infinity support of polycurves REMOVED. (reverted back. nothing new added.)
2014-10-15 13:21:42 +02:00
Efi Fogel
16151c46ff
Enhanced operator(). Made the type of the coordinate index iterator a template parameter
...
Patch exceptionally accepted in master on a file not used by CGAL.
Approved by the interim release manager.
2014-09-29 10:53:18 +02:00
Waqar Khan
59b8d86465
push_back and front are now derived from the polycurve::push_back and push_front.
2014-08-18 16:00:13 +02:00
Waqar Khan
edd45dc2e7
necessary functors added that are used by the polycurves for infinite support.
2014-08-18 15:15:09 +02:00
Waqar Khan
1228ca4cd3
added functors to be compatible with polycurves
2014-08-17 23:52:31 +02:00
Waqar Khan
4215481fc5
functors added to these classes to make is compatible with the infinity support of the polycurve.
2014-08-17 23:44:31 +02:00
Waqar Khan
868060d1d8
option of adding a ray and the end of the polyline via push_back added.
2014-08-17 23:42:56 +02:00
Sébastien Loriot
881a5b49bb
remove warnings triggered in release mode
...
trivial bugfix for master
2014-08-10 15:57:29 +02:00
Waqar Khan
a528537c18
* Push_back and Push_front added for polyline traits.
...
* push_back and push_front operators that took point as input argument disabled in polycurve_traits.
* Documentation of polycurve traits modified.
2014-08-05 02:18:09 +02:00
Waqar Khan
4afb96fee8
Arr_polyline_traits_2 renamed to Arr_polycurve_traits_2. Also the new class Arr_polyline_traits_2 is inherited from Arr_polycurve_traits_2 for backword compatibility.
2014-07-31 15:32:09 +02:00
Efi Fogel
207f70b167
minor fix for master. traits() => geometry_traits()
2014-07-13 10:27:30 +03:00
Waqar Khan
3a2dc27eab
Some commented conditions to added to intersect functor that might help fix the functor even when the trim functor does not atomatically fix the source and target points. Check with Eric
2014-07-08 01:08:25 +02:00
Waqar Khan
b72f433a4b
Trim function user friendly source and target swapping enabled again as it was causing problem with intersect functor of Arr_polyline.
2014-07-08 01:06:42 +02:00
Sébastien Loriot
0b353bb85b
Merge remote-tracking branch 'origin/CGAL-use_leda-GF'
...
Reintroduce the possibility to use CGAL without GMP
(to use LEDA number types instead for example).
The cmake option to set to switch off GMP when building
the lib is CGAL_DISABLE_GMP.
Tested in CGAL-4.5-Ic-86
Approved by the release manager
ge is necessary,
2014-07-04 12:02:37 +02:00
Waqar Khan
a59039c37f
* dummy trim functor added to Arr_Bezier_curve_traits so that the tet framework wont fail
2014-06-23 18:46:32 +02:00
Waqar Khan
9e5ee3890e
* Has_construct_x_monotone_curve_from_two_points_category added into "Arr_bezier_curve_traits"
...
* test_bezier_polycurve is a test file for my own use
2014-06-23 17:21:22 +02:00
Sébastien Loriot
251a9d8446
fixes for tests to use leda and not gmp
2014-06-19 14:29:20 +02:00
Efi Fogel
65bfcd77a3
minor fix for master: fixed locate_gen(cv), where cv is vertical
2014-06-19 10:03:12 +03:00
Waqar Khan
42c21408f8
* Arr_Polyline_traits_2 now use trim functionality to find overlapping curves in
...
Intersect_2 functor.
2014-06-18 18:54:15 +02:00
Waqar Khan
4084abf21f
* Trim functionality added to Arr_segment_traits_2
2014-06-18 18:53:08 +02:00
Waqar Khan
b11285741f
* Trim functionality added to Arr_conic_traits_2
2014-06-18 18:52:17 +02:00
Waqar Khan
282ebee1db
* Trim functionality added for Arr_circle_segment_traits_2.
2014-06-18 18:51:06 +02:00
Laurent Rineau
bb492768b1
Merge remote-tracking branch 'origin/Arrangement_on_surface_2-remove_edge-efif'
...
Conflicts:
Installation/changes.html
2014-05-26 12:21:37 +02:00
Waqar Khan
22dfb578c8
* Trim functor now working with conic polycurves. Tested.
2014-05-25 02:55:53 +02:00
Waqar Khan
be658a222f
* trim functionality added to polyline_traits and tested with conic polycurves. Works for most cases however
...
* some cases result in failure.
2014-05-25 02:10:27 +02:00
Waqar Khan
52c6d3044d
* Permissios of the files changed
...
* Trim functionality added to conic and circular_arc traits.
* Examples for conic_polycurve and circular_arc_polycurve added.
2014-05-24 21:55:36 +02:00
Laurent Rineau
2242efe153
fix permissions
2014-05-22 14:58:17 +02:00
Efi Fogel
a7c7a842f7
Fixed removal of unbounded & added corresponding tests
2014-05-18 17:16:54 +03:00
Laurent Rineau
73f4734525
Fix permissions
2014-05-15 18:33:36 +02:00
Waqar Khan
ae79550a0d
Examples for polycurve_conics and polycurve_circular_arcs added
2014-05-11 16:56:16 +02:00
Waqar Khan
5a86e06399
Added more tests for polycurve_circular_arc traits
...
* Intersect functor still remains to be tested.
2014-05-04 21:04:38 +02:00
Efi Fogel
eb1ac16965
Fixed unbounded removal
2014-05-04 18:55:46 +03:00
Waqar Khan
f534f4eb31
More tests for conic polycurves added, Also fixed an issue with number_of_points_2 functor in 'Arr_polyline_traits_2.h'
2014-04-08 20:32:21 +02:00