def getPointsFromSegmentTable(segmentTable):
 points = []
 endpoints = euclidean.getEndpointsFromSegmentTable(segmentTable)
 for endpoint in endpoints:
  points.append(endpoint.point)
 return points

def getPointsFromSegmentTable ( segmentTable ) : points = [ ] endpoints = euclidean . getEndpointsFromSegmentTable ( segmentTable ) for endpoint in endpoints : points . append ( endpoint . point ) return points
get the points from the segment table .