Yeah, I would probably do this ...

    else if (sco->scopeType == orion::PolygonType)

And after ending that elseif, I would add an "else ERROR".