closerThan

fun closerThan(pathA: Path, observer: Point): Int

If pathB ("this") is closer from the observer than pathA, it must be drawn after. It is closer if one of its vertices and the observer are on the same side of the plane defined by pathA.