Difference between revisions of "IsInRegion Command"
From GeoGebra Manual
m (1 revision) |
(command syntax: changed [ ] into ( )) |
||
(14 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|logical}} | |
− | <noinclude>{{Manual Page|version= | + | ;IsInRegion( <Point>, <Region> ) |
− | {{command|logical}} | + | :Returns ''true'' if the point is in given [[Geometric Objects#Regions|region]] and ''false'' otherwise. |
− | ;IsInRegion | + | :{{Example|1=<code>IsInRegion((1,2), Polygon((0,0), (2,0), (1,3)))</code> returns ''true''.}} |
− | :{{ |
Latest revision as of 19:42, 30 September 2017
- IsInRegion( <Point>, <Region> )
- Returns true if the point is in given region and false otherwise.
- Example:
IsInRegion((1,2), Polygon((0,0), (2,0), (1,3)))
returns true.