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
KennethVanhoey
CGoGN
Commits
98f4c489
Commit
98f4c489
authored
Jun 15, 2011
by
Kenneth Vanhoey
Browse files
corrections sur gestion des boundingbox
parent
c6d8c4e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/Algo/Decimation/edgeSelector.h
View file @
98f4c489
...
...
@@ -26,6 +26,7 @@
#define __EDGESELECTOR_H__
#include
"Algo/Decimation/selector.h"
#include
"Algo/Geometry/boundingbox.h"
#include
"Container/fakeAttribute.h"
#include
"Utils/qem.h"
...
...
include/Algo/Geometry/boundingbox.h
View file @
98f4c489
...
...
@@ -41,7 +41,7 @@ namespace Geometry
template
<
typename
PFP
>
Geom
::
BoundingBox
<
typename
PFP
::
VEC3
>
computeBoundingBox
(
typename
PFP
::
MAP
&
map
,
const
typename
PFP
::
TVEC3
&
position
,
const
FunctorSelect
&
select
=
SelectorTrue
())
{
Geom
::
BoundingBox
<
typename
PFP
::
VEC3
>
bb
(
position
[
map
.
begin
()])
;
Geom
::
BoundingBox
<
typename
PFP
::
VEC3
>
bb
;
CellMarker
vmarker
(
map
,
VERTEX
);
for
(
Dart
d
=
map
.
begin
();
d
!=
map
.
end
();
map
.
next
(
d
))
...
...
include/Geometry/bounding_box.hpp
View file @
98f4c489
...
...
@@ -129,6 +129,7 @@ void BoundingBox<VEC>::addPoint(const VEC& p)
{
m_pMin
=
p
;
m_pMax
=
p
;
m_initialized
=
true
;
}
else
{
...
...
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