My `input` was a set of sparse map points(landmarks) maintained by SLAM algorithm, z-axis of the world frame permanently points to the negative direction of the gravity. I wonder whether there exist any mature algorithms  for extraction `horizontal` and `vertical `planes?