SetValue and SetCoords

Clueid shared this question 1 year ago
Answered

What's the difference between SetValue and SetCoords? I mean, of course SetCoords works only for points, but is there a difference if I put:


SetValue(A, (0, 1)), SetCoords(A, 0, 1)?

Best Answer
photo

Not exactly same same...

https://wiki.geogebra.org/e...


If "Absolute Screen Position" is selected then x, y are in screen pixels.

Comments (3)

photo
1

It's clear by entering both Commands that there isn't a difference for redifing point A, so why asking? If in math you have more than one possibility to solve a problem or to make a construction, just use the one that you find the most convenient

photo
1

"so why asking?"


I just want to know if there are other applications or some reason for making 2 separate commands for the same thing.

photo
2

Not exactly same same...

https://wiki.geogebra.org/e...


If "Absolute Screen Position" is selected then x, y are in screen pixels.

photo
© 2021 International GeoGebra Institute