Difference between revisions of "Vertex Command"

From GeoGebra Manual
Jump to: navigation, search
(another example with parabola)
m (spacing)
Line 2: Line 2:
 
{{command|geometry}}
 
{{command|geometry}}
 
; Vertex[Conic]: Returns (all) vertices of the conic section.
 
; Vertex[Conic]: Returns (all) vertices of the conic section.
 
 
  
 
{{betamanual|version=4.2|
 
{{betamanual|version=4.2|
Line 10: Line 8:
 
::<code>Vertex[(x + y < 3) && (x - y > 1)]</code> returns point (2,1) ;
 
::<code>Vertex[(x + y < 3) && (x - y > 1)]</code> returns point (2,1) ;
 
::<code> {Vertex[(x + y < 3) ∧ (x - y > 1)&& (y>-2)]}</code> returns list <nowiki> {(2, 1), (5, -2), (-1, -2)} </nowiki>
 
::<code> {Vertex[(x + y < 3) ∧ (x - y > 1)&& (y>-2)]}</code> returns list <nowiki> {(2, 1), (5, -2), (-1, -2)} </nowiki>
::<code>{Vertex[(y > x²) ∧ (y < x)]}</code>  returns list <nowiki>  {(0, 0), (1, 1)}  </nowiki></div>}}.}}
+
::<code>{Vertex[(y > x²) ∧ (y < x)]}</code>  returns list <nowiki>  {(0, 0), (1, 1)}. </nowiki></div>}}}}
  
 
; Vertex[Polygon]: Returns (all) vertices of the polygon.
 
; Vertex[Polygon]: Returns (all) vertices of the polygon.

Revision as of 10:39, 26 September 2012


Vertex[Conic]
Returns (all) vertices of the conic section.


Vertex[Polygon]
Returns (all) vertices of the polygon.
Vertex[Polygon, Number n]
Returns n-th vertex of the polygon.
Note: To get vertices of the polygon / conic as list, use {Vertex[t]}.
© 2021 International GeoGebra Institute