Difference between revisions of "Vertex Command"
From GeoGebra Manual
m (fixed format) |
Noel Lambert (talk | contribs) |
||
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. | ||
+ | |||
+ | ;Vertex[ <Inequality> ] : Returns the points of intersection of the line borders | ||
+ | :{{example|1=<code>Vertex[(x + y < 3) && (x - y > 1)]</code> returns point (2,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, Number 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 vertices of the polygon / conic as [[Lists|list]], use <code>{Vertex[t]}</code>.}} |
Revision as of 09:53, 26 September 2012
- Vertex[Conic]
- Returns (all) vertices of the conic section.
- Vertex[ <Inequality> ]
- Returns the points of intersection of the line borders
- Example:
Vertex[(x + y < 3) && (x - y > 1)]
returns point (2,1)
- 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]}
.