Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I have an ellipse with known major radius $r_y$ and minor radius $r_y$, aligned with the x- and y-axis.

enter image description here

Given a tangent point $T$ and the tangent angle $\alpha$, how do I calculate the center $C$ of this ellipse?

with a circle the equation is easy:

C_x = x - radius * cos ( tangent-angle - 90° )
C_y = y - radius * sin ( tangent-angle - 90° )

But for an ellipse this does not work.

(My goal is oriented hough transformation for ellipses)

share|improve this question

1 Answer 1

up vote 1 down vote accepted

First, find the equation of the tangent line (using $\tan\alpha$). Then use orthogonal affinity in the coordinate system, along the $y$-axis: $$(x,y)\mapsto (x,\frac y3)$$ Then the ellipse goes to a circle, tangent goes to tangent, and you can use your formula. Then multiply back $y$ coordinate of the result centrepoint by $3$.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.