segments

@JvmName(name = "segments2d")
fun segments(segments: List<Segment>)

Draws a list of 2D segments

fun segments(segments: List<Segment3D>)

Draws a list of 3D segments

fun segments(segments: List<Segment3D>, weights: List<Double>, colors: List<ColorRGBa>)

Draws a list of 3D segments, each with their weight and color