Possible bug: Circle command

Swulf shared this question 9 years ago
Answered

Hi,


There appears to be a bug in the Circle command, as follows:


The following sequence works:


A=(0,0)

circle[A,2]


It draws a circle with radius 2 centered on X=0, Y=0 as expected.


Now I want to draw the same circle but at some distance above the XY plane, i.e. it must be displaced in the +Z direction. Try:


B=(0,0,1)

circle[B,2]


...failure. 'Sorry, something went wrong. Please check your input'.


I am using 4.9.17.0 of 23 January 2012.


Swulf

Comments (3)

photo
1

The circle-command in 3D is different from from that in 2D!!!


A point and a radius is not enough to create a explicit circle:


Have a look at the realease-notes http://wiki.geogebra.org/en...


Birgit

photo
1

Hi, there is a lot of circles in the space with center B and radium 2 : one for each plane which contains B.

You have to add a parameter to choice the plane you want to use, using an orthogonal line of this plane. For eg, if the plane is parallel to the XOY plane, use :

    Circle[B, 2, zAxis3D]

Michel

photo
1

Hi all,


Michel's tip works! :D


B=(0,0,1)

circle[B,2,zAxis3D]


does indeed produce a circle of radius 2 offset in Z by 1 unit from the XY plane.


Thank you,


Swulf

© 2021 International GeoGebra Institute