add getVertexCoords()
add DEFAULT_DISTANCE_ERROR
continue writing genRegularSegmentSubdomains()