Properties
Category
English
Similar Topics
Statistics
Comments
9
Participants
4
Subscribers
0
Votes
1
Views
851
Share
Conditional reflection using polar coordinates
Answered
I am trying to reflect point D" if it is in the certain polar quadrant. I am using
If[(10;180+α)<D"<(10;360°),Reflect[D'', a]]
Where alpha is already defined and a is a line. Whats wrong with the above code? It is not executing.
 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
If[α<angle(D")<360°,Reflect[D'', a]]
You should attach here your file to allow us to make a better troubleshooting.
Also, you should use a different inequality to define the condition for D'' because it's not possible to compare the position of two points just using > or <.
Perhaps something like If[180°+α<y(D")<360°,Reflect[D'', a]] if the first coordinate of D'' is constant.
and please use the degree symbol for angles if those are defined as angles and not as numbers on a slider.
Of course these are just general hints, based on what you wrote here. I don't know how you built the file.
A Point (or Vector) can not be biger or smaller then a Point (or Vector) (see Simona)
(only scalarvalues = values with 1 dimension can be biger or smaller then others scalarvalues)
But the Angle of a Vector (this is a scalarvalue) can be biger or smaller then an other Angle of a Vector.
Note: In your description nothing is declare for the elesecase.
If[α<angle(D")<360°,Reflect[D'', a]]
Comments have been locked on this page!