I am looking for any algorithms that can find simple 2D geometry such as square\rectangle\hexagon in a 3D point cloud. Point clouds never contain more than around 50 points.
I have looked at RANSAC but this doesn't suite my solution, basically all the shapes will have points only were the vectors change angle. For instance a square will contain 4 points, hexagon 6 points and octagon 8 points.