Answers for "how to get the corners of 2 points on a matrix"

0

how to get the corners of 2 points on a matrix

say you have 2 points, (x1,y1) and (x2,y2)

to get their corners, criss cross the x's and y's:

corner1 = x1,y2
corner2 = x2,y1

if the original points are on the same x-axis or same y-axis,
the criss cross result will give you back the original points
Posted by: Guest on May-09-2021

Code answers related to "how to get the corners of 2 points on a matrix"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language