A Local Reference Frame Construction Method Based on the Signed Surface Variation