Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wenqing
ogs
Commits
c6faf50e
Commit
c6faf50e
authored
6 years ago
by
Tom Fischer
Browse files
Options
Downloads
Patches
Plain Diff
[A/FileIO/Gmsh] GMSHPolygonTree: Rm unused var.
parent
476d78f0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Applications/FileIO/Gmsh/GMSHPolygonTree.cpp
+0
-3
0 additions, 3 deletions
Applications/FileIO/Gmsh/GMSHPolygonTree.cpp
with
0 additions
and
3 deletions
Applications/FileIO/Gmsh/GMSHPolygonTree.cpp
+
0
−
3
View file @
c6faf50e
...
...
@@ -204,7 +204,6 @@ void GMSHPolygonTree::checkIntersectionsSegmentExistingPolylines(
{
std
::
size_t
const
ply_segment_number
(
seg_it
.
getSegmentNumber
());
for
(
GeoLib
::
PolylineWithSegmentMarker
*
const
p
:
_plys
)
{
std
::
size_t
n_segments
(
p
->
getNumberOfSegments
());
GeoLib
::
PointVec
&
pnt_vec
(
*
(
_geo_objs
.
getPointVecObj
(
_geo_name
)));
for
(
auto
seg_it_p
(
p
->
begin
());
seg_it_p
!=
p
->
end
();
++
seg_it_p
)
{
GeoLib
::
Point
s
;
// intersection point
...
...
@@ -216,7 +215,6 @@ void GMSHPolygonTree::checkIntersectionsSegmentExistingPolylines(
if
(
pnt_vec_size
<
pnt_vec
.
size
())
{
// case: new point
// modify polyline already in this node
p
->
insertPoint
(
seg_it_p
.
getSegmentNumber
()
+
1
,
pnt_id
);
n_segments
++
;
// modify polyline
ply
->
insertPoint
(
ply_segment_number
+
1
,
pnt_id
);
}
else
{
// case: point exists already in geometry
...
...
@@ -224,7 +222,6 @@ void GMSHPolygonTree::checkIntersectionsSegmentExistingPolylines(
std
::
size_t
const
k
(
seg_it_p
.
getSegmentNumber
());
if
(
p
->
getPointID
(
k
)
!=
pnt_id
&&
p
->
getPointID
(
k
+
1
)
!=
pnt_id
)
{
p
->
insertPoint
(
k
+
1
,
pnt_id
);
n_segments
++
;
}
// check if point is not already in polyline ply
if
(
ply
->
getPointID
(
ply_segment_number
)
!=
pnt_id
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment