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
4
votes
1 answer

CSS3 Translate: Translate an element on an Ellipse path

I've been searching the answer for awhile but all I can see is translating an object in circular path. Is there a way to translate an element on an ellipse path given the semiminor and semimajor axis? Thanks alot! the jfiddle of belows answer css3
Chinchan Zu
  • 878
  • 5
  • 19
  • 39
4
votes
4 answers

How to do c# collision detection?

Are there any predefined methods in c# which allow for collision detection? I am new to c# and am trying to get collision detection of two ellipses are there any predefined ways collision detection can be implemented? I already have code which draws…
user1866990
  • 115
  • 2
  • 3
  • 6
4
votes
2 answers

Moving A Point Along Ellipse

I have created an ellipse on my canvas and now I need to draw three lines stemming from the origin. As an example let's say the first line is 90 degrees (vertical) so the point is (0, 10). I need the other two lines to be x pixels away from the…
AdamDev
  • 335
  • 4
  • 11
4
votes
2 answers

Find the normal "N" on an ellipses through a point on a cross section

I'm trying to make a nice deflection effect in a little physics engine I've made. Right now it deflects nicely off the normal of a polygon edge. But instead of making a polygon with 100 edges to get a smooth effect of a "rounded deflection" I…
Robert Sköld
  • 752
  • 2
  • 9
  • 19
3
votes
1 answer

How do I calculate a point on a ellipse’s circumference?

I want to plot a point in elliptical curve in J2ME I have values for X,Y,width,height and t. X and Y are the position of the ellipse(according to J2ME) with respect to Canvas and t is angle with respect to the center of ellipse(I have an image…
Abhijith V R
  • 81
  • 2
  • 7
3
votes
3 answers

Determining if a point lies within an ellipse, including the edge

I am trying to test if a point lies within a circle and if the point is on the perimeter, it should be included in the results. However, Java's contains() implementation uses less than instead of less than or equal to. For example consider this…
Tyler Crompton
  • 12,284
  • 14
  • 65
  • 94
3
votes
1 answer

Creating a matrix containing a filled ellipse based on a non-contiguous outline

I'm trying to create a matrix of 0 values, with 1 values filling a ellipse shape. My ellipse was generated using minVolEllipse.m (Link 1) which returns a matrix of the ellipse equation in the 'center form' and the center of the ellipse. I then use a…
Dylan
  • 63
  • 1
  • 4
  • 9
3
votes
1 answer

Plot points within an ellipse using p5.js

I have a need to add a bunch of dots within the confines of an ellipse. I'm trying to modify the code from the accepted solution to this question, which is set up to use a circle (same width and height) rather than an ellipse. It is also…
Daveh0
  • 952
  • 9
  • 33
3
votes
3 answers

How to determine if a latitude & longitude is within an ellipse

I have data describing a rotated ellipse (the center of the ellipse in latitude longitude coordinates, the lengths of the major and minor axes in kilometers, and the angle that the ellipse is oriented). I do not know the location of the foci, but…
3
votes
1 answer

How I can make a gradient between 2 or more ellipses with GD?

How I can make a gradient between 2 or more ellipses with GD? The following is an ellipse: 186, 'g' => 0, 'b' => 255 ); $amarillo =…
Bcl00
  • 207
  • 3
  • 15
3
votes
2 answers

Ellipse fitting to determine rotation (Python)

I am looking to fit an ellipse to some data points I have. What I want: to determine the rotation angle of my data using an ellipse The data: the data I have is in polar coordinates (θ, r) theta = [0.0, 0.103, 0.206, 0.309, 0.412, 0.515, 0.618,…
Sorade
  • 915
  • 1
  • 14
  • 29
3
votes
0 answers

cv2.FitEllipse errors. Why does one data set work and not the other?

I am trying to use cv2.FitEllipse to fit an ellipse to data using the following python code: def getContours_test(clusters): copy_clusters=clusters.copy() int_cnts=[] for label in np.unique(clusters): mask =…
Tom
  • 35
  • 6
3
votes
2 answers

How to make a star or a cross using an svg ellipse?

I am creating an ellipse in svg. In this ellipse I am trying to give a shape like a star or cross. I can not use anything else other than ellipse. This is what I have done so far.
Fokrule
  • 844
  • 2
  • 11
  • 30
3
votes
1 answer

Determining reflection vector from tangent to ellipse

I have a ray shot on the inside of an ellipse, it needs to reflect off of the ellipse and continue flying inside the ellipse. I've found that the easiest might be to find a tangent vector to the impact point and from there calculate the reflection…
David
  • 99
  • 6
3
votes
2 answers

How to find point inside an ellipse?

I'm trying to find points inside the ellipse. It is not an 'ordinary' ellipse actually it is based on average and standard deviation which is much easier than calculating eigen values in order to find confidence interval Function is not written by…
Tyr
  • 580
  • 4
  • 26