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
2 answers

Nearest trio of neighbours for non-intersecting ellipses

I'm working on a problem which is to find the closest trio of neighbours for a set of arbitrarily placed non-intersecting ellipses. As a new user I'm not allowed to include image tags but I've included the URL at the bottom of the page as I always…
4
votes
1 answer

Rotate some elements in an ellipse path

I am trying to make some objects, say 12, to rotate in an ellipse path continuously in Processing. I got a sketch which does rotation in a circle and I want to make it to rotate in a ellipse. I have some pointer from processing forum but the code…
Scott
  • 85
  • 1
  • 3
  • 8
4
votes
1 answer

Plot ellipsoid from matrix

I would like to plot an ellipsoid from a (3x3) matrix in matplotlib I have this code: import numpy as np import matplotlib.pyplot as plt from matplotlib.patches import FancyArrowPatch from mpl_toolkits.mplot3d import proj3d fontSize = 14 lineWidth…
tommy J
  • 91
  • 3
4
votes
1 answer

Are Javafx ellipses and arcs genuine? Or just approximations?

I'm following the source code of OpenJFX. The PathIterator only supports SEG_LINETO, SEG_QUADTO, SEG_CUBICTO, which are lines and quadratic/cubic Bézier curves. ArcIterator and EllipseIterator returns SEG_CUBICTO, which means that it will use cubic…
Ris
  • 165
  • 10
4
votes
1 answer

Trouble understanding veganCovEllipse covariance ellipse calculation

I'm having issues understanding how the veganCovEllipse() function from the vegan package v 2.5-7 calculates an ellipse. veganCovEllipse <- function (cov, center = c(0, 0), scale = 1, npoints = 100) { theta <- (0:npoints) * 2 * pi/npoints …
olliejay00
  • 43
  • 3
4
votes
0 answers

Finding points in Ellipses

I am currently trying to implement an algorithm to identify whether or not a point is in an ellipse in an image such as the following: I am using the following algorithm to return a truth value as to whether the point is in the ellipse. def…
4
votes
2 answers

How to detect if an ellipse collides with an another ellipse / rectangle

I want to detect if ellipse collides with another ellipse and rectangle. How I can do it? I'm writing in C++. I want to use it for a game.
m4tx
  • 4,139
  • 5
  • 37
  • 61
4
votes
1 answer

What is the use of Ellipsis in Python?

Could someone please help, what is the use of Ellipse in Python with some examples and when to use it? I have done some search on this it can be used with a function : def add(): ... and with slicing in the list. import numpy n =…
Ashish Dhamu
  • 71
  • 1
  • 4
4
votes
1 answer

Understanding the ellipse parameters in Open CV using Python

I am trying to draw an arc using Open CV, using cv2.ellipse function I tried reading the documentation for the same, but I m finding it very confusing. It is an arc in my case so axes_x and axes_y are same, i.e the radius. What should be my axis, In…
Anuradha
  • 1,089
  • 4
  • 18
  • 29
4
votes
1 answer

Points of Intersection of an Ellipse and a line after rotating ellipse by angle theta

I want to find points of intersection of an Ellipse and a line after rotating Ellipse by angle theta. I have written python code to find points of intersection of an Ellipse and a line, but I am not able to figure out how to find intersection point…
yashjain12yj
  • 723
  • 7
  • 19
4
votes
1 answer

Drawing elliptical lines between two circles without intersecting matplotlib

I'm trying to draw elliptical lines using matplotlib to connect two circles but would like to make it so the elliptical lines do not intersect either circle. Currently my design has resulted in this: which as you can see has lines going through…
Chrispresso
  • 3,660
  • 2
  • 19
  • 31
4
votes
0 answers

VeganCovEllipse function does not give me the same ellipses as Ordiellipse function

I'm am generating NMDS for my masters and I'm at the point where I want to make pretty graphs for my thesis with ggplot. I'm looking at how my species are distributed across my 3 regions (column 1 of my environmental (env) data set). When I used the…
4
votes
2 answers

R - Draw Ellipse in ScatterPlot (not* stat-ellipse)

I have a scatter plot created using ggplot in R: ggplot(data, aes(x=x, y=y)) + xlim(0,800) + ylim(0,600) + geom_point(colour="black") + geom_path(aes(color="red") I want to draw an ellipse overlaid on this plot (please, not confidence…
user7288808
  • 117
  • 2
  • 8
4
votes
1 answer

d3 GeoJSON geoCircle ellipse equivalent

The title pretty much says it all. I'm looking for a convenient way to generate a geoJSON polygon defining an ellipse similar to d3-geo's d3.geoCircle()(); I want to use this GeoJSON ellipse with d3-geo. To clarify with and example, Cesium has this…
LBaelish
  • 649
  • 1
  • 8
  • 21
4
votes
2 answers

How to find the equation for an ellipse

I am looking to find the equation for an ellipse given five or six points using the general equation for a conic: A x2 + B xy + C y2 + D x + E y + F = 0. At first I tried using six points. Here is my python code: import numpy as np def…
Jbag1212
  • 167
  • 1
  • 5