-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Triangulation_23: Enhance IO #3850
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
b9de364
Add functions to Triangulation_3 IO that allow writing of extra data …
maxGimeno 93c7246
Add functions to TDS_2 IO that allow writing and reading of extra dat…
maxGimeno 6158085
Fix multiple definition of has_XXX_data
maxGimeno 3722621
Add license header and namespace
maxGimeno 908365b
move has_extra_data in the dedicated header
maxGimeno feb0ef9
add suffixes to dissociate signatures
maxGimeno 101d3a5
hide skip_empty() in namespace.
maxGimeno 4249c20
WIP edge IO in c3t3
maxGimeno c07af7f
Make the skip_empty function inline
maxGimeno 1bd5a7f
WIP read/write curve_index for each edge of each cell as extra_data
maxGimeno 911bf98
Still WIP
maxGimeno fb91ec4
Add edges in complex to C3t3 Medit IO
maxGimeno 862dc7c
merge master and remove 2nd call to rescan
maxGimeno a58a568
update binary test files
maxGimeno 72d1fc6
Update branch from master after trailing whitespaces and tabs removal
sloriot d198ace
extra run of the script to remove tabs and trailing whitespaces
sloriot 14cb2ea
Fix license
maxGimeno 2bbd51d
fix warning
maxGimeno 700874e
Merge remote-tracking branch 'cgal/master' into Triangulation_23-Enha…
maxGimeno File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| // Copyright (c) 2019 | ||
| // GeometryFactory. All rights reserved. | ||
| // | ||
| // This file is part of CGAL (www.cgal.org) | ||
| // | ||
| // $URL$ | ||
| // $Id$ | ||
| // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial | ||
| // | ||
| // Author(s) : Maxime Gimeno | ||
|
|
||
| #ifndef CGAL_HAS_DATA_H | ||
maxGimeno marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| #define CGAL_HAS_DATA_H | ||
| #include <CGAL/Has_member.h> | ||
| #include <boost/mpl/if.hpp> | ||
| namespace CGAL{ | ||
| CGAL_GENERATE_MEMBER_DETECTOR(read_data); | ||
| CGAL_GENERATE_MEMBER_DETECTOR(write_data); | ||
| template <class T> | ||
| bool has_extra_data(const T& , typename boost::enable_if<has_read_data<T> >::type* = NULL) | ||
| { | ||
| return true; | ||
| } | ||
|
|
||
| template <class T> | ||
| bool has_extra_data(const T& , typename boost::enable_if<boost::mpl::not_<has_read_data<T> > >::type* = NULL) | ||
| { | ||
| return false; | ||
| } | ||
| } | ||
| #endif // CGAL_HAS_DATA_H | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.