Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
David Thompson
SMTK
Commits
53c8554c
Commit
53c8554c
authored
Feb 18, 2016
by
David Thompson
Browse files
More efficient polygon tessellation.
parent
ff3f178b
Changes
1
Hide whitespace changes
Inline
Side-by-side
smtk/bridge/polygon/operators/ForceCreateFace.cxx
View file @
53c8554c
...
...
@@ -314,8 +314,8 @@ smtk::model::OperatorResult ForceCreateFace::operateInternal()
// V. Add tessellation
poly
::
polygon_set_data
<
internal
::
Coord
>
polys
;
std
::
vector
<
poly
::
polygon_data
<
internal
::
Coord
>
>
tess
;
polys
+
=
pface
;
get_trapezoids
(
tess
,
polys
);
polys
=
pface
;
polys
.
get_trapezoids
(
tess
);
std
::
vector
<
poly
::
polygon_data
<
internal
::
Coord
>
>::
const_iterator
pit
;
smtk
::
model
::
Tessellation
blank
;
smtk
::
model
::
UUIDsToTessellations
::
iterator
smtkTess
=
...
...
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