Linear pose estimation from points or lines | Synapse