get points from geometry