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
Dmitri Naumov
ogs
Commits
ca15be85
Commit
ca15be85
authored
9 years ago
by
Tom Fischer
Browse files
Options
Downloads
Patches
Plain Diff
[GL] SurfaceGrid: Rm friend class, abort on error.
parent
5fa276c0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
GeoLib/SurfaceGrid.cpp
+2
-1
2 additions, 1 deletion
GeoLib/SurfaceGrid.cpp
GeoLib/SurfaceGrid.h
+0
-1
0 additions, 1 deletion
GeoLib/SurfaceGrid.h
with
2 additions
and
2 deletions
GeoLib/SurfaceGrid.cpp
+
2
−
1
View file @
ca15be85
...
@@ -120,10 +120,11 @@ void SurfaceGrid::sortTrianglesInGridCells(Surface const*const sfc)
...
@@ -120,10 +120,11 @@ void SurfaceGrid::sortTrianglesInGridCells(Surface const*const sfc)
Point
const
&
p0
(
*
((
*
sfc
)[
l
]
->
getPoint
(
0
)));
Point
const
&
p0
(
*
((
*
sfc
)[
l
]
->
getPoint
(
0
)));
Point
const
&
p1
(
*
((
*
sfc
)[
l
]
->
getPoint
(
1
)));
Point
const
&
p1
(
*
((
*
sfc
)[
l
]
->
getPoint
(
1
)));
Point
const
&
p2
(
*
((
*
sfc
)[
l
]
->
getPoint
(
2
)));
Point
const
&
p2
(
*
((
*
sfc
)[
l
]
->
getPoint
(
2
)));
DBUG
(
"Sorting triangle %d [(%f,%f,%f), (%f,%f,%f), (%f,%f,%f) into "
ERR
(
"Sorting triangle %d [(%f,%f,%f), (%f,%f,%f), (%f,%f,%f) into "
"grid."
,
"grid."
,
l
,
p0
[
0
],
p0
[
1
],
p0
[
2
],
p1
[
0
],
p1
[
1
],
p1
[
2
],
p2
[
0
],
p2
[
1
],
p2
[
2
]
l
,
p0
[
0
],
p0
[
1
],
p0
[
2
],
p1
[
0
],
p1
[
1
],
p1
[
2
],
p2
[
0
],
p2
[
1
],
p2
[
2
]
);
);
std
::
abort
();
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
GeoLib/SurfaceGrid.h
+
0
−
1
View file @
ca15be85
...
@@ -34,7 +34,6 @@ public:
...
@@ -34,7 +34,6 @@ public:
double
eps
=
std
::
numeric_limits
<
double
>::
epsilon
())
const
;
double
eps
=
std
::
numeric_limits
<
double
>::
epsilon
())
const
;
private:
private:
friend
GeoLib
::
Surface
;
void
sortTrianglesInGridCells
(
GeoLib
::
Surface
const
*
const
surface
);
void
sortTrianglesInGridCells
(
GeoLib
::
Surface
const
*
const
surface
);
bool
sortTriangleInGridCells
(
GeoLib
::
Triangle
const
*
const
triangle
);
bool
sortTriangleInGridCells
(
GeoLib
::
Triangle
const
*
const
triangle
);
boost
::
optional
<
std
::
array
<
std
::
size_t
,
3
>>
boost
::
optional
<
std
::
array
<
std
::
size_t
,
3
>>
...
...
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