Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GeoModel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
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
GeoModelDev
GeoModel
Commits
8e86e6ce
Commit
8e86e6ce
authored
2 years ago
by
Andrea Dell'Acqua
Browse files
Options
Downloads
Patches
Plain Diff
fix bug in the GDML trdHandler, where dimensions must be divided by 2
parent
25cc08d4
No related branches found
No related tags found
1 merge request
!183
fix bug in the GDML trdHandler, where dimensions must be divided by 2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GeoModelTools/GDMLtoGM/src/trdHandler.cxx
+1
-1
1 addition, 1 deletion
GeoModelTools/GDMLtoGM/src/trdHandler.cxx
with
1 addition
and
1 deletion
GeoModelTools/GDMLtoGM/src/trdHandler.cxx
+
1
−
1
View file @
8e86e6ce
...
...
@@ -24,6 +24,6 @@ void trdHandler::ElementHandle()
double
y2
=
getAttributeAsDouble
(
"y2"
);
double
z
=
getAttributeAsDouble
(
"z"
);
GeoShape
*
trd
=
new
GeoTrd
(
lunit
*
x1
,
lunit
*
x2
,
lunit
*
y1
,
lunit
*
y2
,
lunit
*
z
);
GeoShape
*
trd
=
new
GeoTrd
(
lunit
*
x1
/
2.
,
lunit
*
x2
/
2.
,
lunit
*
y1
/
2.
,
lunit
*
y2
/
2.
,
lunit
*
z
/
2.
);
theController
->
saveSolid
(
name
,
trd
);
}
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