Spherical angles on the surface of a sphere

Axcel shared this question 3 years ago
Answered

Hello everyone,


currently it is quite laborious to measure the angle between two intersecting arcs on the surface of a sphere by having to construct the tangent lines at the point of intersection first and then measure the angle between those. The angle object, since being straight and not curved, obviously touches the sphere in one point only and the larger I make the angle object the more strange and unpleasant it looks. Is there any way to measure the spherical angle and draw a curved angle object following the shape of the shpere? Maybe in future versions of GeoGebra, hopefully...?


Thanks and kind regards

Axcel

Comments (40)

photo
1

hello

try a calculus with ⊗ like in b (you can create a custom tool)

if the center of sphere is out of (0,0,0) you must substract the center to all points in b

saludos

photo
1

Hello Mathmagic,


sorry, I didn't understand your comment. In the file attached I cannot see the angle object anyway. I basically want to have a curved angle-object. I was thinking one could create a look-alike using the "Surface" command. But I don't really know how to do it.


Thanks and kind regards

Axcel

photo
1

hello

I thought you wanted measure of the angle. for a curve over sphera from a spheralsegment to another you can try a curve defined with the points

define a segment from one arc to another then curve/|curve|


saludos

saludos

photo
2

hello

an example

you must complete for angles >180º

saludos

photo
1

Hello mathmagic,

thanks for your reply fist of all. I was trying to understand what you constructed there in the file you submitted. I realized that I might not have explained well enough what I am trying to achieve: I like to have a curved angle measuring arc on the surface of the sphere. Currently, the angle measuring arc lays in a tangent plane to the measuring point. I would like to have that one not flat but curved along the surface of the sphere. In your file, the surface is created on the inside of the sphere towards the center point. Is there a possibility to have that surface object created on the surface of the sphere? I was trying for the last days but couldn't get it to work. I wil attach a picture of the desired outcome, hoping something like that can also be done with GeoGebra.

Thanks again for your time and efforts in helping me! I really appreciate it. :-)

photo
1

in my file redefine g like g = Curve[t F + (1 - t) A, t, 0.99, 1] then select it thicker

photo
1

another example

photo
1

Hello again,


thanks for the new file. And is there a way that I can colour the enclosed area of the sphere between the two (black) sides and the (yellow) arc?


Axcel

photo
1

yes, to create a surface

the new course began this morning; when I have time I will try to do it

photo
2

I have been studing the arcs over an sphere and I think I have a good result

open the attached and copy and paste this command in input line

Surface[Curve[sin(α - t) / sin(α) C + sin(t) / sin(α) F, t, 0, α], b, f]

I think there is a little bug with this form of surface[]; I am waiting an answer

saludos

photo
1

Beyond my level of understanding, anyway... I hope you can provide me with a function or object that I can (foolproof) use on my file... :-)


Regards

Axcel

photo
2

hello

this is all I can do. open the file, select the last right tool then click on A,C,D,E

but I think there is a bug: when I do several angles with a common point only the last one is updated

saludos

photo
1

Hello mathmagic,


wow, looks good. I hope I can develop it further. But what must I do so that I can import this tool into any other GeoGebra file?

photo
1

hello

tools->manage tool->select and save

saludos

photo
1

Hello,


Saving the existing tool wasn't a problem. I did that but I haven't figured how to import the tool into an existing file.


Thanks

Axcel

photo
1

simply file open the *.ggt file (to save or not to save is the same)

photo
2

hello

I was thinking another method more algebraic for avoid the bug (it does not use the last version of surface)

here are the results

now I am thinking for building spherical triangles

saludos

photo
1

Hello mathmagic,


thank you again for attending to my case. I was very impressed with your last file. It is really getting very close to what I am trying to achieve. I am almost there... :-) I do however haven't figured out how to implement this tool into an existing file. I have already a quite complex 3D sphere with lots of objects and don't really like to start from scratch again drawing everything in your file having the tool contained in it. So how can I import the tool into my existing file so that I can draw the 3D angles in my existing file? How can I "merge" the two existing .ggt files, in other words? Sorry for bothering you with this newbee-question.


Thanks

Axcel

photo
2

open your file

then clic on file->open->do not save, search the tool on your PC and open

then the tool is merge in your own file

then clic on tools->customize toolbar

in center up select 3d graphics

go down in right list of tool

select the tool

then insert

the tool must be in your menu

then cilc on center of sphere and three points

photo
1

Hi mathmagic,


thanks for the explanation. I got your tool imported now. Sorry that I didn't know how to do it. I will remember for next time.

Anyway, your tool does something on my sphere but unfortunately, it doesn't draw the angles correctly. You invested already a lot of time into my query and I cannot ask you to spend even more time on this. I would just like to understand how you did it because all I can see is a freakin' complicated Surface Tool command. Can you explain what you did there and how this construction command is actually structured? Or is that something really complicated and you just do these things in a couple of seconds in your head? I really like to know how you did this so that I can take it further.


Thanks

Axcel

photo
2

hello

you can open the tool clicking on tool->manage tool-> select the tool and open

basically is a linear transformation of a polar zone of sphere parametized by (cos(u) cos(v),cos(u) sin(v),sin(v))

my mother lang is spanish, if you want I can tell a better explanation in spanish lang

(I am talking about the last tool)


  1. it doesn't draw the angles correctly

the second tool work fine for me. tell me what is the problem

opening the attached in

https://www.geogebra.org/he...

you must see this/wNqhRfF2aMDSQAAAABJRU5ErkJggg==


saludos

photo
1

Hello mathmagic,


in the attached picture it can be seen that there are parts of the surface area missing. I don't know why this is. It might be because I am rotating the entire sphere by animation.

photo
1

I think because you can see the sphere out of box limits but not your surfaces

create a slider r

create Sphere[(0, 0, 0), r]

create Surface[u, v, sqrt(r² - u² - v²), u, -r, r, v, -r, r] (green)

then change r from 1 to a great number. the surface is partly hidden and the sphere not


saludos

photo
2

Hello mathmagic,


yes, you were right! The tool itself works fine. It was the "clipping" that cut off the surfaces. But now everything is so small because I had to fit it in the clipping box. Can I zoom in on the sphere including the clipping box or can I make the clipping box any bigger?


Thanks

Axcel

photo
2

the clipping box has three sizes.

/SGM9AAAAABJRU5ErkJggg==

other options must be features from developers

saludos

photo
1

Hello mathmagic,


I think I found a solution now that I can live with. A big thanks to you for your help in this matter. I really appreciate this. I hope that in a future version of GeoGebra the angle measuring object will also be curved on a sphere just as you did with your tool. Is there a way to suggest it to the developers?


Thanks

Axcel

photo
1

  1. Is there a way to suggest it to the developers?

I think you have done it with the last post

photo
1

Hello mathmagic,


one more question: what would be the command to create a similar surface object that is bound by three 3 Great Circles (as sides of the triangle) between any three points on the sphere?


Thanks

Axcel

photo
1

I am thinking about but I do not get simple way. it is posible using my tool twice with center in the points on the longer side and the same color but it is few elegant

sorting the points by the long of sides and creating the angles in the extrmum of longer side you fill the triangle

saludos

photo
1

Sorry mathmagic, I didn't understand your last post. Can you explain one more time? I have to use your tool twice. The first point is always the center of the sphere, right? Then its about the three points on the surface. Which point to be selected first? The two points furthest apart? Is that what you are saying...?


Thanks

Axcel

photo
1

OK, I see what you mean. Unfortunately, it does not work for all triangles:

e4d4f048f6ea4c1f493e7fb8483c2be3 3950a7da463f1fb9569e84824fc6d25d

photo
1

I was searching a simple way to do the spherical triangle, at the end I did the obvious method: the triangle C,D,E (C,D,E on sphere of center A) and dividing by modulus for normalizing. create a = Sphere[A, B] then C,D,E on the sphere and type (better copy and paste )

b = Surface[A + Distance[A, C] 1.01 ((1 - u) C + u (1 - v) D + u v E - A) / sqrt(((1 - u) C + u (1 - v) D + u v E - A)²), u, 0, 1, v, 0, 1]

saludos

photo
1

Wow, mathmagic - YOU ARE A GENIUS! :-))

Would it be possible to convert this into a tool so that one only has to click one center point and any three points on the sphere? You could use the icon that you were using recently for the other tool. The icon shows a green triangle on a red sphere. This icon might be better suitable for this kind of tool.


I am sure that this tool might also be useful to others... !

Thanks

Axcel

photo
1

do the tool yourself

when you have four free points named A,C,D,E create a surface with

b = Surface[A + Distance[A, C] 1.01 ((1

- u) C + u (1 - v) D + u v E - A) / sqrt(((1 - u) C + u (1 - v) D + u v

E - A)²), u, 0, 1, v, 0, 1]

edit the properties : style->line thinkness 0, your own color, level of deatail->quality etc

then tools ->create new tool-> output the triangle ->next input the four points in order ->next voilá

create an icon for perfect tool and assing it to the tool in the manage of tools


saludos

photo
1

Aha! Thanks for the brief explanation on how to do this. It was my first time to create a tool but I finally managed. A big THANKS to you one more time!

Finally, what modification must I make in order to get a 3D angle that can can range from 0° to 360°? At the moment 180° is max...


Thanks

Axcel

photo
2

modifing the angle3D tool I did this

photo
1

Cool! Thank you once again mathmagic. :-) Unbelievable what you can do with GeoGebra...


Regards

Axcel

photo
2

yo sigo

photo
2

y continuo a lo mío

photo
1

Very impressive and defenitely useful!

Obviously not only limited to triangles...

© 2019 International GeoGebra Institute