Properties
Category
English
Tags
Movable point, restrict, constrain, integer coordinates, integer, whole numbers, circles, centre, point
Due On
20191030
Similar Topics
Statistics
Comments
4
Participants
4
Subscribers
4
Votes
1
Views
83
Share
Restrict movable point to integer values
Answered
Hi there kind helper,
I've created a little Geogebra file to show my students a locus to do with circles...
They can drag the centre of each circle (movable points 'A' and 'B') to where they like
BUT, I want to restrict it so they can only drag the centres to points with INTEGER COORDINATES.
Is that possible?
Thanks for your help...
Files:
Circle of Appol...
 GeoGebra
 Help
 Partners

Contact us
 Feedback & Questions
 This email address is being protected from spambots. You need JavaScript enabled to view it.
 +43 677 6137 2693
© 2019 International GeoGebra Institute
Hi,
https://wiki.geogebra.org/e...
> Fixed to Grid
Oh thanks ever so much Noel...
(I spent ages trying to work out how to do that; then as soon as I saw your reply, I realised what I need to do. Thanks...
Move a free movable point C and define
Create a free movable and hide point A'
then define:
A = DynamicCoordinates(A', round(x(A')), round(y(A')))
Or if the integer is for example 2, then define
A = DynamicCoordinates(A', round(x(A') / 2) 2, round(y(A') / 2) 2)
instead of constant 2 a slider is also possible
.
Note: you should use this variant if you want the integer to be independent of the zoom factor.
Comments have been locked on this page!