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 doubleCircleSurfaceArea(double xRadius)returns the surface area of a circlestatic doubleCircumference(double xRadius)returns the circumference of a circlestatic doubleConeSurfaceArea(double xRadius, double xHeight)returns the surface area of a conestatic doubleConeVolume(double xRadius, double xHeight)returns the volume of a conestatic doubleCubeSurfaceArea(double xSide)returns the surface area of a cubestatic doubleCubeVolume(double xSide)returns the volume of a cubestatic doubleCylinderSurfaceArea(double xRadius, double xHeight)returns the surface area of a cylinderstatic doubleCylinderVolume(double xRadius, double xHeight)returns the volume of a cylinderstatic doublePyramidSurfaceArea(double xBase, double xHeight)returns the surface area of a pyramidstatic doublePyramidVolume(double xBase, double xHeight)returns the volume of a pyramidstatic doubleRectanglePerimeter(double xLength, double xWidth)returns the perimeter of a rectanglestatic doubleRectangleSurfaceArea(double xLength, double xWidth)returns the surface area of a rectanglestatic doubleRectangularPrismSurfaceArea(double xLength, double xWidth, double xHeight)returns the surface area of a rectangular prismstatic doubleRectangularPrismVolume(double xLength, double xWidth, double xHeight)returns the volume of a rectangular prismstatic doubleRhombusSurfaceArea(double xLongDiagonal, double xShortDiagonal)returns the surface area of a rhombusstatic doubleSphereSurfaceArea(double xRadius)returns the surface area of a spherestatic doubleSphereVolume(double xRadius)returns the volume of a spherestatic doubleSquarePerimeter(double xSide)returns the perimeter of a squarestatic doubleSquareSurfaceArea(double xSide)returns the surface area of a squarestatic doubleTrapeziumPerimeter(double xMajorBase, double xMinorBase, double xLeftSide, double xRightSide)returns the perimeter of a trapezium (first method)static doubleTrapeziumPerimeter2(double xMajorBase, double xMinorBase, double xSide)returns the perimeter of a trapezium (second method)static doubleTrapeziumSurfaceArea(double xMajorBase, double xMinorBase, double xHeight)returns the surface area of a trapeziumstatic doubleTrianglePerimeter(double xSide1, double xSide2, double xSide3)returns the perimeter of trianglestatic doubleTriangleSurfaceArea(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
-
-