Maven module :un.api : api-geometry :
Class : un.impl.geometry.s3d.ConicalFrustrum
Extends/Implements : un.impl.geometry.AbstractOrientedGeometry un.impl.geometry.s3d.Geometry3D
Subclasses : -

A conical frustrum is a volume defined
by 2 circles aligned on the same axis
author  Johann Sorel


Variables : -
Functions : ConicalFrustrum, getHeight, setHeight, getRadius1, setRadius1, getRadius2, setRadius2, getFirst, getSecond, getVolume, getLateralHeight, getTopArea, getTopCircumference, getBottomArea, getBottomCircumference, getLateralSurfaceArea, getSurface, getUnorientedBounds




param  height
param  radius1 top radius
param  radius2 bottom radius
public void ConicalFrustrum (double height, double radius1, double radius2)

public double getHeight ()

public void setHeight (double height)

public double getRadius1 ()

public void setRadius1 (double radius)

public double getRadius2 ()

public void setRadius2 (double radius)

public Vector getFirst ()

public Vector getSecond ()


Calculate the volume.
return  volume.
public double getVolume ()


Calculate the cone lateral height.
return  cone lateral height
public double getLateralHeight ()


Calculate top circle surface area.
return  base circle area.
public double getTopArea ()


Calculate the top circumference.
return  circumference.
public double getTopCircumference ()


Calculate top circle surface area.
return  base circle area.
public double getBottomArea ()


Calculate the bottom circumference.
return  circumference.
public double getBottomCircumference ()


Calculate lateral surface of the frustrum.
return  lateral surface.
public double getLateralSurfaceArea ()


Calculate the surface area.
return  area.
public double getSurface ()

public BBox getUnorientedBounds ()