The normal distribution in some constrained sample spaces