Intrinsic orientation and study viewpoint in recognizing spatial structure of a shape