static public float GetVolume(Cylinder cylinder) { return(GetArea(cylinder.BaseCircle) * cylinder.Height); }
public void AddTo(ref Cylinder prolongedCylinder) { prolongedCylinder.Radius += this.Radius; prolongedCylinder.Height += this.Height; }
static public float GetArea(Cylinder cylinder) { return(cylinder.Height * GetCircleLength(cylinder.Radius) + Cylinder.BASES_NUMBER * GetArea(cylinder.BaseCircle)); }
public void CloneInsteadOf(out Cylinder insteadOf) { insteadOf = Clone( ); }