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
7
votes
3 answers

How do you change the width on an EllipseOutlineGeometry in Cesium map?

I am following the sandcastle ellipse Outline Geometry. I am wondering if there is anyway to make the ellipse line width wider? There are examples of making a polyline wider using the width attribute but there does not seem to be a way to make an…
spartikus
  • 2,852
  • 4
  • 33
  • 38
7
votes
2 answers

Covariance Matrix of an Ellipse

I've been trying to solve a problem. I'm surprised I haven't been able to find anything really useful on the net. I know that from the eigenvalues of the covariance matrix of the ellipse, the major and the minor axis of the ellipse can be computed.…
Omar14
  • 469
  • 1
  • 5
  • 16
7
votes
2 answers

WPF Ellipse with BackgroundColor and Image

I'm developing a Windows Phone application and I have some Ellipses. Is it possible to have a background image on them AND a background color? When I looked for it, VS only allows me to change the Fill property with an image but didn't allow me to…
Armando Freire
  • 417
  • 2
  • 7
  • 19
6
votes
2 answers

Measuring distance along ellipse

Suppose we have an ellipse x^2/a^2 + y^2/b^2 . Taking a point (a*cos(t),b*sint(t)) on the ellipse, what is the fastest way to find another point on the ellipse such that distance between them is a given d. [d is less than pi*a*b]. The problem was…
Anil Shanbhag
  • 950
  • 1
  • 13
  • 31
6
votes
1 answer

Draw opacity ellipse in Delphi 2010

I am looking to draw an opacity ellipse in CodeGear Delphi 2010. I had tried to draw to an another bitmap, I had set the bitmap transparent color(for background) Call the ellipse method. And in my image I draw the bitmap with opacity parameter(from…
user558126
  • 1,303
  • 3
  • 21
  • 42
6
votes
3 answers

Obtain vertices of the ellipse on an ellipse covariance plot (created by `car::ellipse`)

By following this post one can draw an ellipse with a given shape matrix (A): library(car) A <- matrix(c(20.43, -8.59,-8.59, 24.03), nrow = 2) ellipse(c(-0.05, 0.09), shape=A, radius=1.44, col="red", lty=2, asp = 1) Now how to get the major/minor…
Janak
  • 653
  • 7
  • 25
6
votes
3 answers

Draw ring with given thickness, position, and radius. (Java2D)

I need to draw a ring, with given thickness, that looks something like this: The center must be transparent, so that it doesn't cover previously drawn shapes. (or other rings) I've tried something like this: //g is a Graphics2D…
ostrichofevil
  • 749
  • 7
  • 19
6
votes
1 answer

finding a point on an ellipse circumference which is inside a rectangle having center point, height and width?

I have a rectangle in .NET in which I draw an ellipse. I know the width, height and center point of that rectangle. Of course the center point of the rectangle is also the center point of the ellipse. I know how to calculate a point on a circle,…
Shlomi Assaf
  • 73
  • 1
  • 3
6
votes
3 answers

Brush only parts of an Ellipse in WPF

I'm having trouble to find the best way to draw the below shape. I'm using the below code to draw an Ellipse on visual layer. But how can I only brush the quarters? I think it can be done using LinearGradientBrush or RadialGradientBrush but I don't…
Vahid
  • 5,144
  • 13
  • 70
  • 146
6
votes
2 answers

How to obtain the lengths of semi axes of an ellipse? in R

I have this set of x and y coordinates: x<-c(1.798805,2.402390,2.000000,3.000000,1.000000) y<-c(0.3130147,0.4739707,0.2000000,0.8000000,0.1000000) as.matrix(cbind(x,y))->d and I want to calculate the ellipsoid that contains this set of points, I…
user18441
  • 643
  • 1
  • 7
  • 15
5
votes
4 answers

Matlab: Algorithm for voronoi diagram of ellipses

Are there any algorithms to implement Voronoi diagram that bounds the ellipses? The diagram would look like the pictures here voronoi diagram of ellipses Can anyone share some links,tutorials,codes etc related to it? Thanks in advance.
Elsie
  • 283
  • 2
  • 6
  • 15
5
votes
1 answer

Calculating the exact length of an SVG Arc in Python?

I want to be able to calculate the exact length of an SVG Arc. I can do all the manipulations rather easily. But, I am unsure of whether there is a solution at all or the exact implementation of the solution. Here's the exact solution for the…
Tatarize
  • 10,238
  • 4
  • 58
  • 64
5
votes
1 answer

Python: fit 3D ellipsoid (oblate/prolate) to 3D points

Dear fellow stackoverflow users, I face a problem as follows: I would like to fit a 3D ellipsoid to 3D data points within my python script. The starting data are a set of x, y and z coordinates (cartesian coordinates). What I would like to get are a…
Glxblt76
  • 365
  • 5
  • 14
5
votes
6 answers

How to generate a random sample of points from a 3-D ellipsoid using Python?

I am trying to sample around 1000 points from a 3-D ellipsoid, uniformly. Is there some way to code it such that we can get points starting from the equation of the ellipsoid? I want points on the surface of the ellipsoid.
5
votes
4 answers

Given a set of points, how do I approximate the major axis of its shape?

Given a "shape" drawn by the user, I would like to "normalize" it so they all have similar size and orientation. What we have is a set of points. I can approximate the size using bounding box or circle, but the orientation is a bit more tricky. The…
Eugene Yokota
  • 94,654
  • 45
  • 215
  • 319
1 2
3
55 56