I was thinking that there should exist a definition for "convexity" of spatial polygons. A planar convex quadrilateral that has one vertex moved (perpendicularly) out of the plane should continue to be convex in such a definition. Does someone know something in this direction?