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
868ecce2
Commit
868ecce2
authored
Aug 21, 2014
by
Sauvage
Browse files
correction des template dans les diag de voronoi
parent
6a61546b
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/Algo/Geometry/voronoiDiagrams.h
View file @
868ecce2
...
...
@@ -57,7 +57,7 @@ public :
virtual
void
setSeeds_fromVector
(
const
std
::
vector
<
Dart
>&
);
virtual
void
setSeeds_random
(
unsigned
int
nbseeds
);
const
std
::
vector
<
Dart
>&
getBorder
()
{
return
border
;
}
void
setCost
(
const
EdgeAttribute
<
REAL
>&
c
);
void
setCost
(
const
EdgeAttribute
<
REAL
,
MAP
>&
c
);
Dart
computeDiagram
();
virtual
void
computeDiagram_incremental
(
unsigned
int
nbseeds
);
...
...
@@ -74,7 +74,6 @@ protected :
template
<
typename
PFP
>
class
CentroidalVoronoiDiagram
:
public
VoronoiDiagram
<
PFP
>
{
typedef
typename
PFP
::
MAP
MAP
;
typedef
typename
PFP
::
MAP
MAP
;
typedef
typename
PFP
::
VEC3
VEC3
;
typedef
typename
PFP
::
REAL
REAL
;
...
...
include/Algo/Geometry/voronoiDiagrams.hpp
View file @
868ecce2
...
...
@@ -102,7 +102,7 @@ void VoronoiDiagram<PFP>::initFrontWithSeeds ()
}
template
<
typename
PFP
>
void
VoronoiDiagram
<
PFP
>::
setCost
(
const
EdgeAttribute
<
typename
PFP
::
REAL
>&
c
)
void
VoronoiDiagram
<
PFP
>::
setCost
(
const
EdgeAttribute
<
typename
PFP
::
REAL
,
typename
PFP
::
MAP
>&
c
)
{
edgeCost
=
c
;
}
...
...
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