function unioncombine=CSGunion(CSGobj1, CSGobj2) unioncombine = min(CSGobj1, CSGobj2);