Difference between revisions of "Vertex Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
(command syntax: changed [ ] into ( ))
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geometry}}
 +
;Vertex( <Conic> )
 +
:Returns (all) vertices of the conic section.
  
{{command|geometry}}
+
;Vertex( <Inequality> )
;Vertex[ <Conic> ]:Returns (all) vertices of the conic section.
+
:Returns the points of intersection of the borders.
 +
:{{examples|1=<br>
 +
:*<code>Vertex((x + y < 3) && (x - y > 1))</code> returns point ''A = (2, 1)''.
 +
:*<code>{Vertex((x + y < 3) ∧ (x - y > 1) && (y > - 2))}</code> returns ''list1 = {(2, 1), (5, -2), (-1, -2)}''.
 +
:*<code>Vertex((y > x²) ∧ (y < x))</code> returns two points ''A = (0, 0)'' and ''B = (1, 1)''.
 +
:*<code>{Vertex((y > x²) ∧ (y < x))}</code> returns ''list1 = {(0, 0), (1, 1)}''.}}
  
;Vertex[ <Polygon> ]:Returns (all) vertices of the polygon.
+
;Vertex( <Polygon> )
 +
:Returns (all) vertices of the polygon.
  
;Vertex[ <Polygon>, <Number  n> ]:Returns ''n''-th vertex of the polygon.
+
;Vertex( <Polygon>, <Index n> )
 
+
:Returns ''n''-th vertex of the polygon.
{{Note|1=To get vertices of the polygon / conic as [[Lists|list]], use <code>{Vertex[t]}</code>.}}
+
{{Note|1=To get the vertices of the objects polygon / conic / inequality in a [[Lists|list]], use <code>{Vertex(Object)}</code>.}}
 
+
<br>
;Vertex[ <Inequality> ]:Returns the points of intersection of the borders
+
;Vertex( <Segment>, <Index> )
:{{example|1=<br><code>Vertex[(x + y < 3) && (x - y > 1)]</code> returns point (2,1)<br><code>{Vertex[(x + y < 3) ∧ (x - y > 1)&& (y>-2)]}</code> returns list <nowiki> {(2, 1), (5, -2), (-1, -2)}</nowiki><br><code>Vertex[(y > x²) ∧ (y < x)]</code>  returns two points (0, 0) and (1, 1)<br><code>{Vertex[(y > x²) ∧ (y < x)]}</code>  returns list <nowiki>  {(0, 0), (1, 1)}.</nowiki>}}
+
:Returns the start-point (Index = 1) or end-point (Index = 2) of the Segment.

Latest revision as of 10:46, 11 October 2017


Vertex( <Conic> )
Returns (all) vertices of the conic section.
Vertex( <Inequality> )
Returns the points of intersection of the borders.
Examples:
  • Vertex((x + y < 3) && (x - y > 1)) returns point A = (2, 1).
  • {Vertex((x + y < 3) ∧ (x - y > 1) && (y > - 2))} returns list1 = {(2, 1), (5, -2), (-1, -2)}.
  • Vertex((y > x²) ∧ (y < x)) returns two points A = (0, 0) and B = (1, 1).
  • {Vertex((y > x²) ∧ (y < x))} returns list1 = {(0, 0), (1, 1)}.


Vertex( <Polygon> )
Returns (all) vertices of the polygon.
Vertex( <Polygon>, <Index n> )
Returns n-th vertex of the polygon.
Note: To get the vertices of the objects polygon / conic / inequality in a list, use {Vertex(Object)}.


Vertex( <Segment>, <Index> )
Returns the start-point (Index = 1) or end-point (Index = 2) of the Segment.
© 2021 International GeoGebra Institute