Returns points of an ellipse


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Returns points of an ellipse
# 1  
Old 03-26-2013
Returns points of an ellipse

Hi,
Dose any one know, How can i return a 3D ellipse points if i have these information about the ellipse?
All 3 length of axes, dip of each plane and azimuth of each axes.
Code:
i.e., axes length=(1 cm, 2 cm, 3cm);dip of planes=(15 deg, 80 deg);azimuth of each axes=(10 deg,50 deg, 120 deg).

I think at first i have to solve the ellipse equations and then returns it's points.
I want to use these point to plot a 3D ellipse with GMT package.
# 2  
Old 03-26-2013
Is a 3d ellipse a 2d ellipse on a plane in 3D? Standard rotation, translation and scaling would return you to a unit ellipse in the xy z=0 plane. And vice-versa, in reverse order.
This User Gave Thanks to DGPickett For This Post:
# 3  
Old 03-27-2013
yes, it's a 3d ellipse and i want to draw it in a 2D plane. [in three 2D plane, XY,XZ,YZ]
# 4  
Old 03-27-2013
Not an ellipsoidal solid (an ellipse spun on the line through its axes), then, just an ellipse in a plane.

I guess an ellipse reduced to a unit ellipse is a circle, so not so much scaling as rotation and translation. Do you start with just a few points? Takes three to set the plane, which sets the rotation need, and then I expect a couple more to fix the ellipse in position, size and orientation. Having the axes is so much more concise than having random edge points. Obviously, some points might be redundant in fixing the ellipse, such as 4 points of a rectangle, which the solution must be robust in detecting.

The characteristic of an ellipse is that the reflection angles of rays from one axis hit the other, but trig is processing expensive and not friendly for gauss-jordan reduction. More friendly is that all points have the same sum of distances from the two axes, and are in the surface of a cone. Three-D distance is not friendly, but after rotation it is 2d. The 2d distance calc is polynomial, but with the right scaling, separately for x and y, and translation, the first order terms might be zeroed, so the squares become substitute terms in the GJ. It is reminiscent of deriving the binomial theorem, if you recall back then!

There are colections of solutions for most geometric problems, but doing it yourself is so much nicer. I recall regenerating the binomial theorem while taking a math SAT (got 800), but since then for some reason it has stuck! I never liked the trig in calculus, as there were so many identities to memorize, but most Integral Calculus tests were open book.

Last edited by DGPickett; 03-27-2013 at 11:55 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help with decimal points

Hi All, I would like to set decimal point to 16 in the following bash script but it has syntax error at }: awk '{printf"%.16e", (a<500,a++,$1/(a*1.1212121212121229e-02))}' input.dat >output.datHow may I set it in the correct way please? Thank you very much! (6 Replies)
Discussion started by: sxiong
6 Replies

2. Red Hat

Mount Points? How?

Hi folks, I have been asked to performed the following: Add the following new moint points systemA:/avp and SystemB:/usr/sap/trans to be the new linux server ZZZ How can I add those mount points and how those mount points can become another linuz server?:wall::wall::wall: (2 Replies)
Discussion started by: 300zxmuro
2 Replies

3. Shell Programming and Scripting

Aggregated points

Combine points of specific key (a1) based on user defined size (lets say 200 in this example). so a1 191 and 191+200 and sum of all the values (4th column) and vice versa... Thanx a bunch! a1 191 201 1 a1 201 211 2 a1 211 221 1 a1 ....... .... a2......... ........ (7 Replies)
Discussion started by: quincyjones
7 Replies

4. Post Here to Contact Site Administrators and Moderators

Points?

Has any thought been given to assigning points to threads much in the way the HP ITRC forums do? This might not be possible, just a thought. (1 Reply)
Discussion started by: candlejack
1 Replies

5. UNIX for Advanced & Expert Users

mount points

hi, I believe a mount point does not have to be a physical disk, but rather a logical one? Is this correct? if so, how can I find out if my mount points are on different physical disks? thanks (9 Replies)
Discussion started by: JamesByars
9 Replies

6. Shell Programming and Scripting

How can I get entries between two points

Hi, I am trying to write a script to get entries between two points lets say start and end points from a log file, the log file time format is as follows Start - 07/Aug/2008:18:26:43 End - 07/Aug/2008:19:36:43 I tried using the following awk command but it couldnt pick up the entries... (3 Replies)
Discussion started by: openspark
3 Replies

7. UNIX and Linux Applications

Gnuplot question: how to plot 3D points as colored points in map view?

I have a simple gnuplot question. I have a set of points (list of x,y,z values; irregularly spaced, i.e. no grid) that I want to plot. I want the plot to look like this: - points in map view (no 3D view) - color of each point should depend on its z-value. - I want to define my own color scale -... (0 Replies)
Discussion started by: karman
0 Replies

8. UNIX for Dummies Questions & Answers

tar using mount points

hi i tried to tar a directory in my server but it show ensufficient space. therefore i tried to save it to a mount point using tar /mountpoint/newfilename file2btar but it gives me permission denied. i am using the root account to do this. is it possible to tar files and put it to mounted... (3 Replies)
Discussion started by: legato
3 Replies

9. UNIX for Advanced & Expert Users

mount points

sometimes in Solaris 8 when I go to mount filesystems using either the mount command or by editing the /etc/vfstab, i get a nice little error message saying the the number of allowable mount points has been exceeded. I have read man pages until I am blue in the face and no where can I find what the... (3 Replies)
Discussion started by: manderson19
3 Replies
Login or Register to Ask a Question