Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
MostafaMollaali
dynamic
Commits
a7996b19
Commit
a7996b19
authored
11 years ago
by
Lars Bilke
Browse files
Options
Downloads
Patches
Plain Diff
Fixed missing include and a typo.
parent
de79e833
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/AABB.h
+1
-0
1 addition, 0 deletions
GeoLib/AABB.h
Gui/DataView/GeoMapper.h
+2
-2
2 additions, 2 deletions
Gui/DataView/GeoMapper.h
with
3 additions
and
2 deletions
GeoLib/AABB.h
+
1
−
0
View file @
a7996b19
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
#include
<vector>
#include
<vector>
#include
<stdexcept>
#include
<stdexcept>
#include
"MathTools.h"
#include
"Point.h"
#include
"Point.h"
namespace
GeoLib
namespace
GeoLib
...
...
This diff is collapsed.
Click to expand it.
Gui/DataView/GeoMapper.h
+
2
−
2
View file @
a7996b19
...
@@ -51,7 +51,7 @@ private:
...
@@ -51,7 +51,7 @@ private:
// Returns a grid containing all mesh surface points with elevation=0
// Returns a grid containing all mesh surface points with elevation=0
GeoLib
::
Grid
<
GeoLib
::
PointWithID
>*
getFlatGrid
(
MeshLib
::
Mesh
const
*
const
mesh
,
std
::
vector
<
GeoLib
::
PointWithID
*>
sfc_pnts
)
const
;
GeoLib
::
Grid
<
GeoLib
::
PointWithID
>*
getFlatGrid
(
MeshLib
::
Mesh
const
*
const
mesh
,
std
::
vector
<
GeoLib
::
PointWithID
*>
sfc_pnts
)
const
;
// Returns the elevation at Point (x,y) based on a mesh. This uses collision detection for triangles and nearest neighbor for quads.
// Returns the elevation at Point (x,y) based on a mesh. This uses collision detection for triangles and nearest neighbor for quads.
// NOTE: This medhod only returns correct values if the node numbering of the elements is correct!
// NOTE: This medhod only returns correct values if the node numbering of the elements is correct!
double
getMeshElevation
(
double
x
,
double
y
,
double
min_val
,
double
max_val
)
const
;
double
getMeshElevation
(
double
x
,
double
y
,
double
min_val
,
double
max_val
)
const
;
...
@@ -66,7 +66,7 @@ private:
...
@@ -66,7 +66,7 @@ private:
unsigned
getPointPosInLine
(
GeoLib
::
Polyline
const
*
const
line
,
unsigned
start
,
unsigned
end
,
GeoLib
::
Point
const
*
const
point
,
double
eps
)
const
;
unsigned
getPointPosInLine
(
GeoLib
::
Polyline
const
*
const
line
,
unsigned
start
,
unsigned
end
,
GeoLib
::
Point
const
*
const
point
,
double
eps
)
const
;
// Returns the maximum segment length in a polyline vector
// Returns the maximum segment length in a polyline vector
double
GeoMapper
::
getMaxSegmentLength
(
const
std
::
vector
<
GeoLib
::
Polyline
*>
&
lines
)
const
;
double
getMaxSegmentLength
(
const
std
::
vector
<
GeoLib
::
Polyline
*>
&
lines
)
const
;
// Returns if a point p is within a bounding box defined by a and b
// Returns if a point p is within a bounding box defined by a and b
bool
isPntInBoundingBox
(
double
ax
,
double
ay
,
double
bx
,
double
by
,
double
px
,
double
py
)
const
;
bool
isPntInBoundingBox
(
double
ax
,
double
ay
,
double
bx
,
double
by
,
double
px
,
double
py
)
const
;
...
...
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