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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
KennethVanhoey
CGoGN
Commits
868ecce2
Commit
868ecce2
authored
Aug 21, 2014
by
Sauvage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction des template dans les diag de voronoi
parent
6a61546b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
include/Algo/Geometry/voronoiDiagrams.h
include/Algo/Geometry/voronoiDiagrams.h
+1
-2
include/Algo/Geometry/voronoiDiagrams.hpp
include/Algo/Geometry/voronoiDiagrams.hpp
+1
-1
No files found.
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
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