Master

signification of messages to solidator :
r : the point is ready. d : there is one less point of degree 1 alive. e : a point process has ended.
class Solidator.solidator.Point(pos)[source]

A two dimensional point whose pos is a Vect

get_pos(precision=1e-10)[source]

Returns a position rounded up to precision

merge(other)[source]

Merges with another Point

class Solidator.solidator.Segment(a, b)[source]

A segment of two vectors

class Solidator.solidator.Vect(x, y)[source]

A two dimensional vector

Solidator.solidator.create_points(point_list)[source]

Takes in a list of [(point_id, pos_x, pos_y, [list of neighbours’ ids]),…] and output a list of Point

Solidator.solidator.open_process(point)[source]

Opens a process representing a point tells it how many neighbours it should expect and its Point id

Solidator.solidator.remove_deg_1(points, job_id, multiprocess=True)[source]

Write an svg with only closed polygons displayed