neurom.view.common.generate_cylindrical_points

neurom.view.common.generate_cylindrical_points(start, end, start_radius, end_radius, linspace_count=300)[source]

Generate a 3d mesh of a cylinder with start and end points, and varying radius

Based on: http://stackoverflow.com/a/32383775