Model.linessmoothtotol#
- Model.linessmoothtotol(collection, tol)#
Smooths a line based on a give tolerance.
- Parameters:
collection (Collection) – The collection containing the line entities to smooth.
tol (double) – Tolerance used to smooth the lines.
Example#
Smooth the line with ID 1 to within a tolerance of 0.1#import hm import hm.entities as ent model = hm.Model() model.linessmoothtotol(collection=hm.Collection(model, ent.Line, [1]), tol=0.1)