Searched refs:radius (Results 1 – 3 of 3) sorted by relevance
21 Circle(double radius) { in Circle() argument22 this.radius = radius; in Circle()25 return radius; in getRadius()28 return radius * radius * Math.PI; in getArea()32 return 2 * Math.PI * radius; in getCircumference()35 private final double radius; field in Circle92 static double calcCircleArea(double radius) { in calcCircleArea() argument93 return new Circle(radius).getArea(); in calcCircleArea()123 static double calcCircleAreaOrCircumference(double radius, boolean area_or_circumference) { in calcCircleAreaOrCircumference() argument131 calc.value = Math.PI * Math.PI * radius; in calcCircleAreaOrCircumference()[all …]
20 Circle(double radius) { in Circle() argument21 this.radius = radius; in Circle()24 return radius; in getRadius()27 return radius * radius * Math.PI; in getArea()29 private double radius; field in Circle95 static double calcCircleArea(double radius) { in calcCircleArea() argument96 return new Circle(radius).getArea(); in calcCircleArea()821 private static double getCircleArea(double radius, boolean b) { in getCircleArea() argument824 area = new Circle(radius).getArea(); in getCircleArea()841 private static double testDeoptimize(int[] iarr, double[] darr, double radius) { in testDeoptimize() argument[all …]
42 # calc.value = Math.PI * Math.PI * radius;45 # calc.value = 2 * Math.PI * radius;52 # tmp = Math.PI * Math.PI * radius;55 # tmp = 2 * Math.PI * radius;