Return aft radius if x == length
This commit is contained in:
parent
170e73325a
commit
ac120e8fc1
@ -479,7 +479,7 @@ public class Transition extends SymmetricComponent implements InsideColorCompone
|
||||
public double getRadius(double x) {
|
||||
if ( x < 0 )
|
||||
return getForeRadius();
|
||||
if ( x > length)
|
||||
if ( x >= length)
|
||||
return getAftRadius();
|
||||
|
||||
double r1 = getForeRadius();
|
||||
|
Loading…
x
Reference in New Issue
Block a user