Difference between revisions of "Vertex Command"

From GeoGebra Manual
Jump to: navigation, search
m
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geometry}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geometry}}
;Vertex[ <Conic> ]
+
;Vertex( <Conic> )
 
:Returns (all) vertices of the conic section.
 
:Returns (all) vertices of the conic section.
 
<br>
 
<br>
;Vertex[ <Inequality> ]
+
;Vertex( <Inequality> )
 
:Returns the points of intersection of the borders.
 
:Returns the points of intersection of the borders.
 
:{{example|1=<br>
 
:{{example|1=<br>
Line 11: Line 11:
 
:*<code>{Vertex[(y > x²) ∧ (y < x)]}</code> returns ''list1 = {(0, 0), (1, 1)}''.}}
 
:*<code>{Vertex[(y > x²) ∧ (y < x)]}</code> returns ''list1 = {(0, 0), (1, 1)}''.}}
  
;Vertex[ <Polygon> ]
+
;Vertex( <Polygon> )
 
:Returns (all) vertices of the polygon.
 
:Returns (all) vertices of the polygon.
 
<br>
 
<br>
;Vertex[ <Polygon>, <Index n> ]
+
;Vertex( <Polygon>, <Index n> )
 
:Returns ''n''-th vertex of the polygon.
 
:Returns ''n''-th vertex of the polygon.
 
{{Note|1=To get the vertices of the objects polygon / conic / inequality in a [[Lists|list]], use <code>{Vertex[Object]}</code>.}}
 
{{Note|1=To get the vertices of the objects polygon / conic / inequality in a [[Lists|list]], use <code>{Vertex[Object]}</code>.}}
 
<br>
 
<br>
;Vertex[ <Segment>, <Index> ]
+
;Vertex( <Segment>, <Index> )
 
:Returns the start-point (Index = 1) or end-point (Index = 2) of the Segment.
 
:Returns the start-point (Index = 1) or end-point (Index = 2) of the Segment.

Revision as of 16:16, 7 October 2017


Vertex( <Conic> )
Returns (all) vertices of the conic section.


Vertex( <Inequality> )
Returns the points of intersection of the borders.
Example:
  • 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.
© 2024 International GeoGebra Institute