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?
closed as unclear what you're asking by Johannes Hahn, user44191, David Handelman, Matt F., Ben McKay Oct 10 at 18:28
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

1$\begingroup$ What do you expect to do with such a definition? What do you need it for? $\endgroup$ – Johannes Hahn Oct 9 at 14:10

$\begingroup$ I do not see why this question has been put on hold. I think that what is being asked is that how can one define a notion of convexity for a space curve. This is a natural question which others might wonder about as well. elwyn even provides an example to clarify what is being asked. $\endgroup$ – Mohammad Ghomi Oct 10 at 18:44
A natural definition for convex space curves is given by requiring that the curve lies on the boundary of its convex hull. In this sense, the curves that you describe will be convex.
Convex space curves have been well studied and have a number of interesting properties. For instance, when they are smooth, their torsion must vanish at least four times, which is a theorem of Sedykh. See this paper for a recent generalization of this result based on Arnold's tennis balls theorem, and other references in this area.