Difference between revisions of "IsInRegion Command"

From GeoGebra Manual
Jump to: navigation, search
(added example)
(command syntax: changed [ ] into ( ))
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|logical}}
{{command|logical}}
+
;IsInRegion( <Point>, <Region> )
;IsInRegion[ <Point>, <Region> ]
 
 
:Returns ''true'' if the point is in given [[Geometric Objects#Regions|region]] and ''false'' otherwise.
 
:Returns ''true'' if the point is in given [[Geometric Objects#Regions|region]] and ''false'' otherwise.
:{{Example|1=<code>IsInRegion[(1,2), Polygon[(0,0), (2,0), (1,3)]]</code> returns ''true''.}}
+
:{{Example|1=<code>IsInRegion((1,2), Polygon((0,0), (2,0), (1,3)))</code> returns ''true''.}}

Latest revision as of 18:42, 30 September 2017

© 2024 International GeoGebra Institute