Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas Pitiot
CGoGN
Commits
66ee2706
Commit
66ee2706
authored
Jul 30, 2014
by
Sylvain Thery
Browse files
remove unnecessary parameters
parent
163dc375
Changes
5
Hide whitespace changes
Inline
Side-by-side
Apps/Tuto/tuto_dual3.cpp
View file @
66ee2706
...
...
@@ -94,7 +94,7 @@ int main(int argc, char **argv)
}
}
Dart
dcenter
=
myMap
.
explodBorderTopo
(
dsave
);
Dart
dcenter
=
myMap
.
explodBorderTopo
(
/*
dsave
*/
);
DartMarker
<
MAP
>
mf
(
myMap
);
for
(
Dart
dit
=
myMap
.
begin
()
;
dit
!=
myMap
.
end
()
;
myMap
.
next
(
dit
))
...
...
include/Algo/Import/import.h
View file @
66ee2706
...
...
@@ -94,7 +94,7 @@ namespace Import
* @return a boolean indicating if import was successful
*/
template
<
typename
PFP
>
bool
importMesh
(
typename
PFP
::
MAP
&
map
,
const
std
::
string
&
filename
,
std
::
vector
<
std
::
string
>&
attrNames
,
bool
mergeCloseVertices
=
false
);
bool
importMesh
(
typename
PFP
::
MAP
&
map
,
const
std
::
string
&
filename
,
std
::
vector
<
std
::
string
>&
attrNames
/*
, bool mergeCloseVertices = false
*/
);
/**
* import a mesh and extrude it
...
...
include/Algo/Import/import.hpp
View file @
66ee2706
...
...
@@ -932,7 +932,7 @@ bool importMesh(typename PFP::MAP& map, MeshTablesVolume<PFP>& mtv)
}
template
<
typename
PFP
>
bool
importMesh
(
typename
PFP
::
MAP
&
map
,
const
std
::
string
&
filename
,
std
::
vector
<
std
::
string
>&
attrNames
,
bool
mergeCloseVertices
)
bool
importMesh
(
typename
PFP
::
MAP
&
map
,
const
std
::
string
&
filename
,
std
::
vector
<
std
::
string
>&
attrNames
/*
bool mergeCloseVertices
*/
)
{
MeshTablesVolume
<
PFP
>
mtv
(
map
);
...
...
include/Topology/map/map3.h
View file @
66ee2706
...
...
@@ -515,7 +515,7 @@ public:
// - triangule chaque face
// - ferme par phi3 chaque volume
// - recoud le tout
Dart
explodBorderTopo
(
Dart
d
);
Dart
explodBorderTopo
(
/*
Dart d
*/
);
void
computeDualTest
();
//@}
...
...
include/Topology/map/map3.hpp
View file @
66ee2706
...
...
@@ -1589,8 +1589,10 @@ void Map3<MAP_IMPL>::computeDual()
//std::cout << "Map closed (" << closeMap() <<" boundary faces)" << std::endl;
}
//TODO A METTRE EN ALGO
template
<
typename
MAP_IMPL
>
Dart
Map3
<
MAP_IMPL
>::
explodBorderTopo
(
Dart
d
)
Dart
Map3
<
MAP_IMPL
>::
explodBorderTopo
(
/*
Dart d
*/
)
{
std
::
vector
<
std
::
pair
<
Dart
,
Dart
>
>
ve
;
ve
.
reserve
(
1024
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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