normalXAt

fun normalXAt(index: Int): Float(source)

Returns the unit normal across of edge index, from point index to the next, pointing out. A circle has no edges; a capsule has two, its segment both ways.

Throws

if the shape has no edge index.