Page 1 of 1

nxm Quadrilateral perspective grid

Posted: Tue Jun 04, 2019 11:27 am
by abhaybhuva
Problem statement: you are given one Quadrilateral - Trapezium, arrange the nxm quadrilateral inside Quadrilateral - Trapezium.

nxm Quadrilateral represent the perspective grid.



Input: 4 points (XY coordinate) of the Quadrilateral - Trapezium.
Output: NxMx4 points (XY coordinate) of all NxM grid of quadrilateral.