/ . / VolumePath / surface.py
Functions
|
|
|
order_chain
|
order_chain ( ilist, nt )
Return indices in order to form a chain. A table of neighbors for each
index is given. Chain can form closed loop or have two distinctend points.
Neighbors not in input list are ignored.
|
|
marker_neighbors
|
marker_neighbors ( mlist )
Return map of marker index to list of neighbor marker indices.
|
|
chain_end_marker
|
chain_end_marker ( m )
Trace chain of linked markers to other end.
|
|
make_marker_surface
|
make_marker_surface (
mlist,
surfmodel,
caps,
)
Exceptions
|
|
No_Surface, ('some curves open ended others closed', [] )
No_Surface, ('branched chains not supported', [ mlist [ i ] for i in nc ] )
|
|
|
connected_indices
|
connected_indices ( nt )
Find connected indices given a list with each indices neighbors.
|
|
unbranched_chain
|
unbranched_chain (
i1,
i2,
iset,
nt,
)
|
|
|