Difference between revisions of "Vertex Command"
From GeoGebra Manual
m (spacing) 

Line 3:  Line 3:  
;Vertex[ <Conic> ]  ;Vertex[ <Conic> ]  
:Returns (all) vertices of the conic section.  :Returns (all) vertices of the conic section.  
−  
;Vertex[ <Inequality> ]  ;Vertex[ <Inequality> ]  
:Returns the points of intersection of the borders.  :Returns the points of intersection of the borders.  
Line 13:  Line 12:  
;Vertex[ <Polygon> ]  ;Vertex[ <Polygon> ]  
:Returns (all) vertices of the polygon.  :Returns (all) vertices of the polygon.  
−  
;Vertex[ <Polygon>, <Index> ]  ;Vertex[ <Polygon>, <Index> ]  
:Returns ''n''th vertex of the polygon.  :Returns ''n''th vertex of the polygon.  
{{Note1=To get the vertices of the objects polygon / conic / inequality in a [[Listslist]], use <code>{Vertex[Object]}</code>.}}  {{Note1=To get the vertices of the objects polygon / conic / inequality in a [[Listslist]], use <code>{Vertex[Object]}</code>.}}  
+  
+  
+  {{betamanualversion=5.0 {{Note 1=From GeoGebra 5, this command will work with 3D objects as well.  
+  ;Vertex[ <Conic> ]  
+  :Returns (all) vertices of the conic section.  
+  ;Vertex[ <Polygon> ]  
+  :Returns (all) vertices of the polygon.  
+  }}}} 
Revision as of 08:26, 30 July 2014
 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> ]
 Returns nth vertex of the polygon.
Note: To get the vertices of the objects polygon / conic / inequality in a list, use
{Vertex[Object]}
.
Following text is about a feature that is supported only in GeoGebra 5.0.
Note: From GeoGebra 5, this command will work with 3D objects as well.
