Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CGoGN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Pitiot
CGoGN
Commits
f0e1b718
Commit
f0e1b718
authored
May 13, 2014
by
Pierre Kraemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix FunctorStore usage
parent
2503edce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
include/Algo/Geometry/inclusion.hpp
include/Algo/Geometry/inclusion.hpp
+2
-3
No files found.
include/Algo/Geometry/inclusion.hpp
View file @
f0e1b718
...
...
@@ -42,12 +42,11 @@ namespace Geometry
{
template
<
typename
PFP
>
bool
isConvex
(
typename
PFP
::
MAP
&
map
,
Dart
d
,
const
VertexAttribute
<
typename
PFP
::
VEC3
,
typename
PFP
::
MAP
::
IMPL
>&
position
,
bool
CCW
,
unsigned
int
thread
)
bool
isConvex
(
typename
PFP
::
MAP
&
map
,
Vol
v
,
const
VertexAttribute
<
typename
PFP
::
VEC3
,
typename
PFP
::
MAP
::
IMPL
>&
position
,
bool
CCW
,
unsigned
int
thread
)
{
//get all the dart of the volume
std
::
vector
<
Dart
>
vStore
;
FunctorStore
fs
(
vStore
);
map
.
foreach_dart_of_volume
(
d
,
fs
,
thread
);
map
.
foreach_dart_of_orbit
(
v
,
[
&
]
(
Dart
d
)
{
vStore
.
push_back
(
d
);
},
thread
);
bool
convex
=
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment