copy the coordinates of a point

hbghlyj shared this question 8 months ago
Answered

For example I construct a point by the command

E=Intersect(line(A,B),line(C,D))

then I can see the coordinates of E in the algebra view

how can I copy the coordinates of E?

In this circumstance, I have to copy them digit by digit or by OCR, but it sometimes makes a mistake. Is there a direct way to copy the coordinates of E?

Comments (8)

photo
1

x(E)

photo
1

I mean, to copy the numerical coordinates.

photo
1

For example, the rounding is set to be 10 decimal places, I wish to copy a 10 digit decimal

photo
1

x(E) is the exact x-coordinate of a point E (likewise y(E)), regardless the setting of the roundng. What's the problem with that? Please explain if you want something else.

chris

photo
1

Ok. For example, it is shown on the algebra view that x(E)=1.234567890 and I want to copy 1.234567890 to my clipboard. How can I do that without copying digit by digit?

photo
1

Because I want to use the numerical value in another software😀

photo
1

Oh I see. Just click E in the algebra view and Ctrl+C, then I get

  • x(E) = 0.2994632234

photo
1

Also CopyFreeObject(x(E)) or CopyFreeObject(round(x(E),10))


Also you could put this in a button:

var str = ggbApplet.getXcoord("E");
ggbApplet.copyTextToClipboard(str);

photo
© 2021 International GeoGebra Institute