find Extreme Coords On X
fun <V : Vector2D<V>> List<V>.findExtremeCoordsOnX(): ClosedRange<Double>
Content copied to clipboard
Given a non empty list of points represented as vectors, this method finds the extreme coordinates (i.e. min and max coordinates) on the X-axis, these are used to create the returned ClosedRange.