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
CGoGN
CGoGN
Commits
2ebf6b07
Commit
2ebf6b07
authored
Oct 03, 2011
by
Thomas
Browse files
correction tuto2 createdOrientedFace -> createFace (gmap compatibility)
parent
9de12949
Changes
1
Show whitespace changes
Inline
Side-by-side
Apps/Tuto/tuto2.cpp
View file @
2ebf6b07
...
...
@@ -26,7 +26,6 @@
#include
"Topology/generic/parameters.h"
#include
"Topology/map/map2.h"
#include
"Topology/gmap/gmap2.h"
#include
"Topology/generic/mapBrowser.h"
#include
"Algo/Geometry/boundingbox.h"
...
...
@@ -42,7 +41,7 @@ using namespace CGoGN ;
struct
PFP
:
public
PFP_STANDARD
{
// definition de la carte
typedef
G
Map2
MAP
;
typedef
Map2
MAP
;
};
PFP
::
MAP
myMap
;
...
...
@@ -145,8 +144,8 @@ int main(int argc, char **argv)
/// on reprend la carte de tuto1
Dart
d2
=
myMap
.
new
Oriented
Face
(
3
);
Dart
d3
=
myMap
.
new
Oriented
Face
(
4
);
Dart
d2
=
myMap
.
newFace
(
3
);
Dart
d3
=
myMap
.
newFace
(
4
);
myMap
.
sewFaces
(
d2
,
d3
);
position
=
myMap
.
addAttribute
<
Geom
::
Vec3f
>
(
VERTEX
,
"position"
);
...
...
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