Grasshopper

algorithmic modeling for Rhino

BullAnt

ggSimplifyPolyline

Component Index > BullAnt > BullAnt > ggSimplifyPolyline

Simplify Polyline by merging co-linear segments. If all vertex are within tolerance of a line from first to last point, a line is returned. Else the routine is recursively called on polylines before and after vertex with greatest deviation.

Inputs

NameIDDescriptionType
PolylinePPolylineCurve
TolTDeviation ToleranceNumber

Outputs

NameIDDescriptionType
PolylinePSimplified PolylineCurve

© 2018   Created by Robin Rodricks and Andrew Heumann.   Hosted by

Badges  |  Report an Issue  |  Terms of Service