answersLogoWhite

0

Just find the midpoint of opposite corners

Consider the rectangle with sides of length a and b. The length of a diagonal is then sqrt(a2+b2) The two diagonals cross at the midpoint or where the length of the line from one vertex to the center is one half of a diagonal or (0.5)[sqrt(a2+b2)].

1- Consider you have Point A(XA,YA) corresponding to the upper left coordinate of the rectangle and you have Point B(XB, YB) corresponding to the lower right coordinate of the rectangle, then, coordinates of the center Point C (XC, YC) is calculated:

XC = XA + (XB-XA)/2

YC = YA - (YA-XB)/2

2- Consider you have Point A(XA,YA) corresponding to the upper left coordinate of the rectangle and the width (W) and height (H) of the rectangle, then, coordinates of the center Point C (XC, YC) is calculated:

XC = XA + (W)/2

YC = YA - (W)/2

User Avatar

Wiki User

14y ago

Still curious? Ask our experts.

Chat with our AI personalities

SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake

Add your answer:

Earn +20 pts
Q: What are the coordinates of the center of a rectangle?
Write your answer...
Submit
Still have questions?
magnify glass
imp