# Math Help - diagonal center points

1. ## diagonal center points

how to calculate diagonally center points of rectangle, triangle, circle and polygons. anyone help me.

In the attachment image I need x1,y1 and x2,y2 points like this for some other shapes.

2. Originally Posted by kumar
how to calculate diagonally center points of rectangle, triangle, circle and polygons. anyone help me.

In the attachment image I need x1,y1 and x2,y2 points like this for some other shapes.
Hi,

I'm not quite sure that I understand your question properly because triangles and circles don't have any diagonals ...

If you have a rectangle and the center C of this rectangle is $C\left(x_C, y_C\right)$ then

$x_C = \frac{x_1+x_2}{2}~\text{and}~y_C = \frac{y_1+y_2}{2}$

3. Hi

I need that x1, y1 and x2, y2 points.

4. Originally Posted by kumar
Hi

I need that x1, y1 and x2, y2 points.
a) $x_2 - x_1 = w$