  The results of numerical calculations of linear polarization from magnetized
spherical optically thick and optically thin envelopes are presented. We give
the methods how to distinguish magnetized optically thin envelopes from
optically thick ones using observed spectral distributions of the polarization
degree and the positional angle. The results of numerical calculations are used
for analysis of polarimetric observations of OB and WR stars, X-ray binaries
with black hole candidates (Cyg X-1, SS 433) and supernovae. The developed
method allows to estimate magnetic field strength for the objects mentioned
above.
