Skip to content Skip to sidebar Skip to footer

Calculating The Boundary Of Irregular Shape In Cartesian Coordinate 2d

I'm looking for a solution to calculate the boundary of an irregular shape. Lats take a look at Square example: if i have Minimum x and y and Maximum x and y like: MaxX = 5 MinX =

Solution 1:

If you want to get full list of integer coordinates inside the shape, consider using of floodfill algorithm


Post a Comment for "Calculating The Boundary Of Irregular Shape In Cartesian Coordinate 2d"