Package db2000.J.eXtrafunctions
Class fGEOMETRY
- java.lang.Object
-
- db2000.J.eXtrafunctions.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 circlestatic double
Circumference(double xRadius)
returns the circumference of a circlestatic double
ConeSurfaceArea(double xRadius, double xHeight)
returns the surface area of a conestatic double
ConeVolume(double xRadius, double xHeight)
returns the volume of a conestatic double
CubeSurfaceArea(double xSide)
returns the surface area of a cubestatic double
CubeVolume(double xSide)
returns the volume of a cubestatic double
CylinderSurfaceArea(double xRadius, double xHeight)
returns the surface area of a cylinderstatic double
CylinderVolume(double xRadius, double xHeight)
returns the volume of a cylinderstatic double
PyramidSurfaceArea(double xBase, double xHeight)
returns the surface area of a pyramidstatic double
PyramidVolume(double xBase, double xHeight)
returns the volume of a pyramidstatic double
RectanglePerimeter(double xLength, double xWidth)
returns the perimeter of a rectanglestatic double
RectangleSurfaceArea(double xLength, double xWidth)
returns the surface area of a rectanglestatic double
RectangularPrismSurfaceArea(double xLength, double xWidth, double xHeight)
returns the surface area of a rectangular prismstatic double
RectangularPrismVolume(double xLength, double xWidth, double xHeight)
returns the volume of a rectangular prismstatic double
RhombusSurfaceArea(double xLongDiagonal, double xShortDiagonal)
returns the surface area of a rhombusstatic double
SphereSurfaceArea(double xRadius)
returns the surface area of a spherestatic double
SphereVolume(double xRadius)
returns the volume of a spherestatic double
SquarePerimeter(double xSide)
returns the perimeter of a squarestatic double
SquareSurfaceArea(double xSide)
returns the surface area of a squarestatic 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 trapeziumstatic double
TrianglePerimeter(double xSide1, double xSide2, double xSide3)
returns the perimeter of trianglestatic double
TriangleSurfaceArea(double xBase, double xHeight)
returns the surface area of a triangle
-
-
-
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
-
-