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) {
|
public double getRadius(double x) {
|
||||||
if ( x < 0 )
|
if ( x < 0 )
|
||||||
return getForeRadius();
|
return getForeRadius();
|
||||||
if ( x > length)
|
if ( x >= length)
|
||||||
return getAftRadius();
|
return getAftRadius();
|
||||||
|
|
||||||
double r1 = getForeRadius();
|
double r1 = getForeRadius();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user