lib module

resample function

#let resample(cell, step: none, protected-nodes: ())

Documentation

Equal-arc-length resampling within topology- and type-bounded sections.

Parameters

  • cell (dictionary): The source morphology.
  • step (int, float): Positive target spacing in cell.units. Default: none.
  • protected-nodes (array): Integer node IDs that must survive resampling. Default: ().

Returns

dictionary

Defined in lib.typ:372.

Source

Module
lib
Defined in
lib.typ:372
Source
View source