Difference between revisions of "Sector Command"
From GeoGebra Manual
(added v.4 - note formatting) |
|||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | <noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | ||
{{command|geometry}} | {{command|geometry}} | ||
− | ; Sector[Conic, Point A, Point B]: Yields a conic sector between two points ''A'' and ''B'' on the conic section. | + | ; Sector[ <Conic>, <Point A>, <Point B> ]: Yields a conic sector between two points ''A'' and ''B'' on the conic section. |
− | :{{Note| This works only for a circle or ellipse.}} | + | :{{Note|1=This works only for a circle or ellipse.}} |
− | ; Sector[Conic, Number t1, Number t2]: Yields a conic sector between two parameter values ''t1'' and ''t2'' on the conic section. | + | ; Sector[ <Conic>, <Number t1>, <Number t2> ]: Yields a conic sector between two parameter values ''t1'' and ''t2'' on the conic section. |
− | :{{Note| Internally the following parametric forms are used: | + | :{{Note|1=Internally the following parametric forms are used: |
− | :* Circle: ''(r cos(t), r sin(t))'' where ''r'' is the circle's radius. | + | :*Circle: ''(r cos(t), r sin(t))'' where ''r'' is the circle's radius. |
− | :* Ellipse: ''(a cos(t), b sin(t))'' where ''a'' and ''b'' are the lengths of the semimajor and semiminor axes.}} | + | :*Ellipse: ''(a cos(t), b sin(t))'' where ''a'' and ''b'' are the lengths of the semimajor and semiminor axes.}} |
Revision as of 23:53, 9 October 2012
- Sector[ <Conic>, <Point A>, <Point B> ]
- Yields a conic sector between two points A and B on the conic section.
- Note: This works only for a circle or ellipse.
- Sector[ <Conic>, <Number t1>, <Number t2> ]
- Yields a conic sector between two parameter values t1 and t2 on the conic section.
- Note: Internally the following parametric forms are used:
- Circle: (r cos(t), r sin(t)) where r is the circle's radius.
- Ellipse: (a cos(t), b sin(t)) where a and b are the lengths of the semimajor and semiminor axes.