function subtractcombine=CSGsubtract(CSGobj1, CSGobj2) subtractcombine = max(CSGobj1, -CSGobj2);