Class fGEOMETRY


  • public class fGEOMETRY
    extends Object
    various geometry functions
    • Constructor Summary

      Constructors 
      Constructor Description
      fGEOMETRY()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double CircleSurfaceArea​(double xRadius)
      returns the surface area of a circle
      static double Circumference​(double xRadius)
      returns the circumference of a circle
      static double ConeSurfaceArea​(double xRadius, double xHeight)
      returns the surface area of a cone
      static double ConeVolume​(double xRadius, double xHeight)
      returns the volume of a cone
      static double CubeSurfaceArea​(double xSide)
      returns the surface area of a cube
      static double CubeVolume​(double xSide)
      returns the volume of a cube
      static double CylinderSurfaceArea​(double xRadius, double xHeight)
      returns the surface area of a cylinder
      static double CylinderVolume​(double xRadius, double xHeight)
      returns the volume of a cylinder
      static double PyramidSurfaceArea​(double xBase, double xHeight)
      returns the surface area of a pyramid
      static double PyramidVolume​(double xBase, double xHeight)
      returns the volume of a pyramid
      static double RectanglePerimeter​(double xLength, double xWidth)
      returns the perimeter of a rectangle
      static double RectangleSurfaceArea​(double xLength, double xWidth)
      returns the surface area of a rectangle
      static double RectangularPrismSurfaceArea​(double xLength, double xWidth, double xHeight)
      returns the surface area of a rectangular prism
      static double RectangularPrismVolume​(double xLength, double xWidth, double xHeight)
      returns the volume of a rectangular prism
      static double RhombusSurfaceArea​(double xLongDiagonal, double xShortDiagonal)
      returns the surface area of a rhombus
      static double SphereSurfaceArea​(double xRadius)
      returns the surface area of a sphere
      static double SphereVolume​(double xRadius)
      returns the volume of a sphere
      static double SquarePerimeter​(double xSide)
      returns the perimeter of a square
      static double SquareSurfaceArea​(double xSide)
      returns the surface area of a square
      static double TrapeziumPerimeter​(double xMajorBase, double xMinorBase, double xLeftSide, double xRightSide)
      returns the perimeter of a trapezium (first method)
      static double TrapeziumPerimeter2​(double xMajorBase, double xMinorBase, double xSide)
      returns the perimeter of a trapezium (second method)
      static double TrapeziumSurfaceArea​(double xMajorBase, double xMinorBase, double xHeight)
      returns the surface area of a trapezium
      static double TrianglePerimeter​(double xSide1, double xSide2, double xSide3)
      returns the perimeter of triangle
      static double TriangleSurfaceArea​(double xBase, double xHeight)
      returns the surface area of a triangle
    • Constructor Detail

      • fGEOMETRY

        public fGEOMETRY()
    • Method Detail

      • CircleSurfaceArea

        public static double CircleSurfaceArea​(double xRadius)
        returns the surface area of a circle
      • Circumference

        public static double Circumference​(double xRadius)
        returns the circumference of a circle
      • ConeSurfaceArea

        public static double ConeSurfaceArea​(double xRadius,
                                             double xHeight)
        returns the surface area of a cone
      • ConeVolume

        public static double ConeVolume​(double xRadius,
                                        double xHeight)
        returns the volume of a cone
      • CubeSurfaceArea

        public static double CubeSurfaceArea​(double xSide)
        returns the surface area of a cube
      • CubeVolume

        public static double CubeVolume​(double xSide)
        returns the volume of a cube
      • CylinderSurfaceArea

        public static double CylinderSurfaceArea​(double xRadius,
                                                 double xHeight)
        returns the surface area of a cylinder
      • CylinderVolume

        public static double CylinderVolume​(double xRadius,
                                            double xHeight)
        returns the volume of a cylinder
      • RectanglePerimeter

        public static double RectanglePerimeter​(double xLength,
                                                double xWidth)
        returns the perimeter of a rectangle
      • RectangleSurfaceArea

        public static double RectangleSurfaceArea​(double xLength,
                                                  double xWidth)
        returns the surface area of a rectangle
      • RhombusSurfaceArea

        public static double RhombusSurfaceArea​(double xLongDiagonal,
                                                double xShortDiagonal)
        returns the surface area of a rhombus
      • SphereSurfaceArea

        public static double SphereSurfaceArea​(double xRadius)
        returns the surface area of a sphere
      • SphereVolume

        public static double SphereVolume​(double xRadius)
        returns the volume of a sphere
      • SquarePerimeter

        public static double SquarePerimeter​(double xSide)
        returns the perimeter of a square
      • SquareSurfaceArea

        public static double SquareSurfaceArea​(double xSide)
        returns the surface area of a square
      • TrapeziumPerimeter

        public static double TrapeziumPerimeter​(double xMajorBase,
                                                double xMinorBase,
                                                double xLeftSide,
                                                double xRightSide)
        returns the perimeter of a trapezium (first method)
      • TrapeziumPerimeter2

        public static double TrapeziumPerimeter2​(double xMajorBase,
                                                 double xMinorBase,
                                                 double xSide)
        returns the perimeter of a trapezium (second method)
      • TrapeziumSurfaceArea

        public static double TrapeziumSurfaceArea​(double xMajorBase,
                                                  double xMinorBase,
                                                  double xHeight)
        returns the surface area of a trapezium
      • TrianglePerimeter

        public static double TrianglePerimeter​(double xSide1,
                                               double xSide2,
                                               double xSide3)
        returns the perimeter of triangle
      • TriangleSurfaceArea

        public static double TriangleSurfaceArea​(double xBase,
                                                 double xHeight)
        returns the surface area of a triangle
      • PyramidSurfaceArea

        public static double PyramidSurfaceArea​(double xBase,
                                                double xHeight)
        returns the surface area of a pyramid
      • PyramidVolume

        public static double PyramidVolume​(double xBase,
                                           double xHeight)
        returns the volume of a pyramid
      • RectangularPrismSurfaceArea

        public static double RectangularPrismSurfaceArea​(double xLength,
                                                         double xWidth,
                                                         double xHeight)
        returns the surface area of a rectangular prism
      • RectangularPrismVolume

        public static double RectangularPrismVolume​(double xLength,
                                                    double xWidth,
                                                    double xHeight)
        returns the volume of a rectangular prism