Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
acts-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Model registry
Operate
Environments
Monitor
Incidents
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
acts
acts-core
Commits
7bb3541a
Commit
7bb3541a
authored
5 years ago
by
Andreas Salzburger
Committed by
Andreas Salzburger
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
use eLOC_Z
parent
fbd317c7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!715
Optimisation of Surface::intersect(...)
Pipeline
#1266886
passed
5 years ago
Stage: check
Stage: build
Stage: test
Stage: analysis
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Core/include/Acts/Surfaces/detail/CylinderSurface.ipp
+1
-1
1 addition, 1 deletion
Core/include/Acts/Surfaces/detail/CylinderSurface.ipp
with
1 addition
and
1 deletion
Core/include/Acts/Surfaces/detail/CylinderSurface.ipp
+
1
−
1
View file @
7bb3541a
...
@@ -104,7 +104,7 @@ inline SurfaceIntersection CylinderSurface::intersect(
...
@@ -104,7 +104,7 @@ inline SurfaceIntersection CylinderSurface::intersect(
// Create the reference vector in local
// Create the reference vector in local
const
Vector3D
vecLocal
(
solution
-
tMatrix
.
block
<
3
,
1
>
(
0
,
3
));
const
Vector3D
vecLocal
(
solution
-
tMatrix
.
block
<
3
,
1
>
(
0
,
3
));
double
cZ
=
vecLocal
.
dot
(
tMatrix
.
block
<
3
,
1
>
(
0
,
2
));
double
cZ
=
vecLocal
.
dot
(
tMatrix
.
block
<
3
,
1
>
(
0
,
2
));
double
tolerance
=
s_onSurfaceTolerance
+
bcheck
.
tolerance
()[
1
];
double
tolerance
=
s_onSurfaceTolerance
+
bcheck
.
tolerance
()[
eLOC_Z
];
double
hZ
=
cBounds
.
halflengthZ
()
+
tolerance
;
double
hZ
=
cBounds
.
halflengthZ
()
+
tolerance
;
return
(
cZ
*
cZ
<
hZ
*
hZ
)
?
status
:
Intersection
::
Status
::
missed
;
return
(
cZ
*
cZ
<
hZ
*
hZ
)
?
status
:
Intersection
::
Status
::
missed
;
}
}
...
...
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