sub

Return a sub-rectangle spanning over the provided u and v ranges.

For example to obtain one quadrant of the rectangle one uses .sub(0.0 .. 0.5, 0.0 .. 0.5)


fun sub(u0: Double, v0: Double, u1: Double, v1: Double): Rectangle(source)

Return a sub-rectangle spanning from (u0, v0) to (u1, v1)

For example to obtain one quadrant of the rectangle one uses .sub(0.0, 0.0, 0.5, 0.5)