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

How to divide circumference of an ellipse equally?

Similar questions were asked and answered previously here but none simple enough for me to understand . The below code calculates the points of an ellipse at equal angle intervals and sums the distances between adjacent points to get an approximate…
4
votes
1 answer

How to add ellipse center in ggbiplot?

I have data set seperated in 4 groups: groups = taxabylevel. I ran ggbiplot and add ellipses around each group. How to add centre of each ellipses? g <- ggbiplot(pca, obs.scale = 1, var.scale = 1, alpha=0, groups = taxaBylevel,show_guide = FALSE,…
Doro
  • 75
  • 5
4
votes
3 answers

3d imaging: defining an ellipsoid based on 3 given ellipses which are parallel to the Cartesian planes

for a 3d imaging software i am coding: I need to define an ellipsoid E, which can have any radii, centers and rotations in space the user interface allows the user to control 3 ellipses, which are "slices" of the ellipsoid (red,green,blue in the…
Saariko
  • 502
  • 6
  • 21
4
votes
1 answer

How to create minimum bounding rectangle over complete dataset in R

Say I have a set of coordinates like this, for example: m <- data.frame(replicate(2,sample(0:9,20,rep=TRUE))) And I want to draw a box around all of the points so that it creates a minimum bounding rectangle. a <-…
JAG2024
  • 3,987
  • 7
  • 29
  • 58
4
votes
1 answer

WPF create dashed ellipse of individual blocks

Is there any easy way to create a dashed ellipse made up of individual horizontal dashes, where the dash sizes are consistent, and their amount can be specified? Something like this: I want to be able to control each dash individually, like…
Shahin Dohan
  • 6,149
  • 3
  • 41
  • 58
4
votes
3 answers

How to change the ellipsis string of Android TextView?(... to ...more)

I want to change the ellipsis string from ... to custom string, such as ...[more]. But in TextUtil, the ellipsis string is fixed: private static final String ELLIPSIS_STRING = new String(ELLIPSIS_NORMAL); Then how to change the ellipses?
Neo lee
  • 71
  • 1
  • 6
4
votes
3 answers

Algorithm of ellipse fitting in OpenCV

I read the code of ellipse fitting in OpenCV, the following link gives the source code of ellipse fitting in OpenCV: http://lpaste.net/161378. I want to know some details about ellipse fitting in OpenCV, but I can not find any documents of the…
Philokey
  • 491
  • 2
  • 5
  • 14
4
votes
1 answer

How to get start and end coordinates (x, y) of major axis of a rotating ellipse in opencv?

I am performing motion tracking of an object, and I am trying to identify the front and back of the object. The object is asymmetrical, which means that the centroid of the contour is closer to the front than the back. Using this information, I am…
srao
  • 308
  • 1
  • 3
  • 13
4
votes
3 answers

Draw ellipses around points

I'm trying to draw ellipses around points of a group on a graph, with matplotlib. I would like to obtain something like this: A dataset for a group (the red one for example) could look like this: [[-23.88315146 -3.26328266] # first point …
JPFrancoia
  • 4,866
  • 10
  • 43
  • 73
4
votes
1 answer

data fitting an ellipse in 3D space

Forum I've got a set of data that apparently forms an ellipse in 3D space (not an ellipsoid, but a curve in 3D). Being inspired by following thread http://au.mathworks.com/matlabcentral/newsreader/view_thread/65773 and with the help from someone…
4
votes
1 answer

Fitting an ellipse through orbital data

I've generated a bunch of data for the (x,y,z) coordinates of a planet as it orbits around the Sun. Now I want to fit an ellipse through this data. What I tried to do: I created a dummy ellipse based on five parameters: The semi-major axis &…
SubTachyon
  • 43
  • 5
4
votes
2 answers

Converting an ellipse into a polyline

I currently have several ellipses. These are defined by a centre point, and then two vectors, one point to the minimum axis and other to the maximum axis. However, for the program I'm creating I need to be able to deal with these shapes as a…
djcmm476
  • 1,723
  • 6
  • 24
  • 46
4
votes
3 answers

Extract coordinates enclosed by a matplotlib patch.

I have created an ellipse using matplotlib.patches.ellipse as shown below: patch = mpatches.Ellipse(center, major_ax, minor_ax, angle_deg, fc='none', ls='solid', ec='g', lw='3.') What I want is a list of all the integer coordinates enclosed inside…
heliqua
  • 47
  • 2
  • 6
4
votes
1 answer

Add textblock to ellipse in WPF

How to add a TextBlock to an Ellipse in WPF/Silverlight?
Nyla Pareska
  • 1,377
  • 6
  • 22
  • 37
4
votes
2 answers

gnuplot - plot random points inside an ellipsoid

I want to create and plot a set of random points within the boundaries of an ellipsoid using gnuplot. Is it possible to do this directly in gnuplot, or would I need to generate my random data points in an external program? Ultimately I would like to…
tommy.carstensen
  • 8,962
  • 15
  • 65
  • 108