Difference between revisions of "Vertex Command"
From GeoGebra Manual
Noel Lambert (talk | contribs) m (Reverted edits by Birgit Lachner (talk) to last revision by Mathmum) |
Noel Lambert (talk | contribs) (typo + list or not) |
||
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[Polygon]: Returns (all) vertices 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>.}} | ||
+ | |||
{{betamanual|version=4.2| | {{betamanual|version=4.2| | ||
Line 7: | Line 14: | ||
:{{example|1=<div> | :{{example|1=<div> | ||
::<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 two points (0, 0) and (1, 1) ; | ||
::<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>}}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 11:27, 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]}
.
Following text is about a feature that is supported only in GeoGebra 4.2.
|