Properties
Category
English
Similar Topics
Statistics
Comments
4
Participants
4
Subscribers
0
Votes
1
Views
1362
Share
Comparing Positions Between Two Segments
Answered
I was wondering if there is a command that will check if two line segments are in the same position,
I am trying to create a worksheet that requires a line segment to be copied, and if I check if the new object is simply '==' to the line segment to be copied then the user can just draw another line segment on top of the existing segment and meet the condition.
I was wondering if such a command exists to compare location and length of a line segment. Or at least a quick work around by comparing the end points?
Thanks!
 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
© 2023 International GeoGebra Institute
The comparison with "==" compares the values of the objects. And these are in this case the length of the Segments. ... You can see it at the algebra view.
You can use the command AreEqual[ ] that yields a boolean.
See http://www.geogebra.org/man...
Note that for Segments
compares the lengths, whereas
compares the endpoints
Thanks for the replies very helpful!
Comments have been locked on this page!