def getCircleNodesFromPoints(points, radius):
 circleNodes = []
 oneOverRadius = (1.0 / radius)
 points = euclidean.getAwayPoints(points, (0.001 * radius))
 for point in points:
  circleNodes.append(CircleNode((point * oneOverRadius), len(circleNodes)))
 return circleNodes

def getCircleNodesFromPoints ( points , radius ) : circleNodes = [ ] oneOverRadius = ( 1.0 / radius ) points = euclidean . getAwayPoints ( points , ( 0.001 * radius ) ) for point in points : circleNodes . append ( CircleNode ( ( point * oneOverRadius ) , len ( circleNodes ) ) ) return circleNodes
get the circle nodes from a path .