Emission lines formed in the circumstellar envelopes of several type of stars can be modeled using first principles of line formation. We present simple ways of calculating line emission profiles formed in circumstellar envelopes having different geometrical configurations. The fit of the observed line profiles with the calculated ones may give first order estimates of the physical parameters characterizing the line formation regions: opacity, size, particle density distribution, velocity fields, excitation temperature.