utilities
utils
Save the provided data to json on the filepath, with the given name |
|
Loads json from the filepath |
|
Turns the dictionary into a flat list |
|
Interrupts the flow of the code while it is running. |
|
Turns a list of compas.geometry.Point into a dictionary, so that it can be saved to Json. |
|
Finds the closest vertex normal to the point. |
|
Finds the index of the closest point of 'pt' in the point cloud 'pts'. |
|
Finds the closest point of 'pt' in the point cloud 'pts'. |
|
Plots the graph G |
|
Finds the coordinates of all the vertices that have an attribute with key=attr that equals the value. |
|
Return the key of a dictionary that stores the val |
|
Finds the closest vertex normal to the point. |
|
Smooths the vector iteratively, with the given number of iterations and strength per iteration |
|
Finds the normal of the curve that lies on the xy plane at the point with index k |