Questions tagged [ellipse]

In geometry, an ellipse is a plane curve that results from the intersection of a cone by a plane in a way that produces a closed curve. Circles are special cases of ellipses. An ellipse is also the locus of all points of the plane whose distances to two fixed points add to the same constant.

In geometry, an ellipse (from Greek ἔλλειψις elleipsis, a "falling short") is a plane curve that results from the intersection of a cone by a plane in a way that produces a closed curve. Circles are special cases of ellipses, obtained when the cutting plane is orthogonal to the cone's axis. An ellipse is also the locus of all points of the plane whose distances to two fixed points add to the same constant.

Ellipses are closed curves and are the bounded case of the conic sections, the curves that result from the intersection of a circular cone and a plane that does not pass through its apex; the other two (open and unbounded) cases are parabolas and hyperbolas. Ellipses also arise as images of a circle under parallel projection and the bounded cases of perspective projection, which are simply intersections of the projective cone with the plane of projection. It is also the simplest Lissajous figure, formed when the horizontal and vertical motions are sinusoids with the same frequency.

838 questions
5
votes
2 answers

Plotting Ellipse3d in R Plotly with surface ellipse

Similar to the question here but this didn't give me excatly what I needed and I couldn't figure it out: Plot ellipse3d in R plotly?. I want to recreate rgl's ellipse3d and surface ellipsoid in plotly. I know there there was an anwer which allowed…
adrienne
  • 103
  • 1
  • 9
5
votes
1 answer

Solutions for y for a rotated ellipse

I wish to plot an ellipse by scanline finding the values for y for each value of x. For a plain ellipse the formula is trivial to find: y = Sqrt[b^2 - (b^2 x^2)/a^2] But when the axes of the ellipse are rotated I've never been able to figure out how…
hippietrail
  • 15,848
  • 18
  • 99
  • 158
5
votes
3 answers

Calculate distance from point p to high dimensional Gaussian (M, V)

I have a high dimensional Gaussian with mean M and covariance matrix V. I would like to calculate the distance from point p to M, taking V into consideration (I guess it's the distance in standard deviations of p from M?). Phrased differentially, I…
Elli Amir
  • 365
  • 1
  • 3
  • 9
5
votes
6 answers

How to calculate the perimeter of an ellipse

I want to calculate the perimeter of an ellipse with given values for minor and major axis. I'm currently using Python. I have calculated the minor axis and major axis lengths for the ellipse i.e. a and b. It’s easy to calculate the area but I want…
Sagar Gautam
  • 9,049
  • 6
  • 53
  • 84
5
votes
2 answers

how to use two coordinates draw an ellipse with javascript?

Like the picture show blow, i have two coordinates, and i want to draw an ellipse which the major axis edges match these two point. I have tried get the mid point between these two coordinates and draw an ellipse base on these one coordinate. The…
Jack Zhang
  • 2,534
  • 5
  • 25
  • 34
5
votes
1 answer

Can I draw an ellipse in Qt c++ without using a rectangle?

I'm using c++ in Qt and I would like to draw an ellipse. From the Qt documentation I found that I can use drawEllipse to draw an ellipse from a boundary rectangle: void QPainter::drawEllipse(const QRectF &rectangle) and the rectangle is given…
Little geek
  • 592
  • 8
  • 22
5
votes
3 answers

Algorithms: Ellipse matching

I have many images like the following (only white and black): My final problem is to find well matching ellipses. Unfortunately the real used images are not always that nice like this. They could be deformed a bit, which makes ellipse matching…
Kevin Meier
  • 2,339
  • 3
  • 25
  • 52
5
votes
4 answers

How do I Bind a WPF Ellipse's Height to its own Width?

I have an ellipse drawn inside a Grid.Row and Grid.Column. The Row is always taller than the Column is wide. I want to draw an ellipse that fills the width of the grid column and who's height makes it a perfect circle. I also want to draw a single…
Curtis
  • 5,794
  • 8
  • 50
  • 77
5
votes
6 answers

Is there any HTML code that would display an ellipse or a rounded rectangle?

I am not sure if it's possible at all in HTML, but I would still ask it here: Is there any HTML code that would stand for an ellipse or a rounded rectangle?
brilliant
  • 2,805
  • 11
  • 39
  • 57
5
votes
3 answers

Find all 4 possible normals to an ellipse

Given a point p exterior to an axially aligned, origin centered ellipse E, find the (upto) four unique normals to E passing through p. This is not a Mathematica question. Direct computation is too slow; I am willing to sacrifice precision and…
Timur Nuriyasov
  • 359
  • 2
  • 16
5
votes
1 answer

Calculating the area of a confidence ellipse in a certain region of space

I was wondering if someone had an idea on how to calculate the blue shaded area inside my confidence ellipse. Any suggestions or places to look are greatly appreciated. Also, I am hoping to find a general formula since the ellipse does not…
user2005253
5
votes
3 answers

how do I find the angle of rotation of the major axis of an ellipse given its bounding rectangle?

I have an ellipse centered at (0,0) and the bounding rectangle is x = [-5,5], y = [-6,6]. The ellipse intersects the rectangle at (-5,3),(-2.5,6),(2.5,-6),and (5,-3) I know nothing else about the ellipse, but the only thing I need to know is what…
GSS1
5
votes
1 answer

Sencha touch 2 title ellipsis

The titles on the table view have ellipsis although the horizontal space is huge. I see it in the default-style.css under .x-title .x-innerhtml. What is the proper way to adjust when it ellipses? and also if your feeling frisky the method I…
rd42
  • 3,584
  • 15
  • 56
  • 68
5
votes
1 answer

Calculating a point on an ellipse

Say I have two points A and B positioned on the circumference of an ellipse, and they form an angle X from the center point. Now say that point A is moved to a new point C. How can I calculate the new point for B such that the angle X remains…
Kevin
  • 403
  • 1
  • 8
  • 16
5
votes
3 answers

Erase ellipse from figure?

I'm new at python and new at graphics!! the thing is that I'm implementing an EKF map-based localization and I want to plot the uncertenty ellipse. For that I do, each time I want to update the figure with all the values I call a function call…