Skip to content

Commit c15a64d

Browse files
authored
fix: TrapezoidVolumeBounds - Fix printout legend (acts-project#4426)
- halfX was not split in positive and negative Y
1 parent 220db58 commit c15a64d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Core/src/Geometry/TrapezoidVolumeBounds.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ bool TrapezoidVolumeBounds::inside(const Vector3& pos, double tol) const {
160160
std::ostream& TrapezoidVolumeBounds::toStream(std::ostream& os) const {
161161
os << std::setiosflags(std::ios::fixed);
162162
os << std::setprecision(5);
163-
os << "TrapezoidVolumeBounds: (minhalfX, halfY, halfZ, alpha, beta) "
163+
os << "TrapezoidVolumeBounds: (halfX @-Y, halfX @+Y, halfY, halfZ, alpha, "
164+
"beta) "
164165
"= ";
165166
os << "(" << get(eHalfLengthXnegY) << ", " << get(eHalfLengthXposY) << ", "
166167
<< get(eHalfLengthY) << ", " << get(eHalfLengthZ);

0 commit comments

Comments
 (0)