Difference between revisions of "Pyramid Command"
From GeoGebra Manual
m (typo) |
|||
Line 3: | Line 3: | ||
;Pyramid[ <Point>, <Point>, ...] | ;Pyramid[ <Point>, <Point>, ...] | ||
:Returns a pyramid defined by the given points. | :Returns a pyramid defined by the given points. | ||
− | :{{example| 1=<div><code><nowiki>Pyramid[A, B, C, D]</nowiki></code>creates the pyramid with | + | :{{example| 1=<div><code><nowiki>Pyramid[A, B, C, D]</nowiki></code> creates the pyramid with base ''ABC'' and apex ''D''.</div>}} |
;Pyramid[ <Polygon>, <Point> ] | ;Pyramid[ <Polygon>, <Point> ] | ||
− | :Creates a pyramid with the polygon as base | + | :Creates a pyramid with the given polygon as base and the point as apex. |
− | :{{example| 1=<div><code><nowiki>Pyramid[poly1, A]</nowiki></code>creates a pyramid with | + | :{{example| 1=<div><code><nowiki>Pyramid[poly1, A]</nowiki></code> creates a pyramid with base ''poly1'' and apex ''A''.</div>}} |
;Pyramid[ <Polygon>, <Height> ] | ;Pyramid[ <Polygon>, <Height> ] | ||
− | :Returns a centered pyramid defined by the polygon as base | + | :Returns a centered pyramid defined by the polygon as base and given height. |
− | :{{example| 1=<div><code><nowiki>Pyramid[poly1, 3]</nowiki></code>creates a centered pyramid with | + | :{{example| 1=<div><code><nowiki>Pyramid[poly1, 3]</nowiki></code> creates a centered pyramid with base ''poly1'' and height 3.</div>}} |
{{Note| See also [[Image:Mode_pyramid_32.gif]] [[Pyramid Tool|Pyramid]] and [[Image:Mode_conify_32.gif]] [[Extrude to Pyramid or Cone Tool|Extrude to Pyramid]] tools.}} | {{Note| See also [[Image:Mode_pyramid_32.gif]] [[Pyramid Tool|Pyramid]] and [[Image:Mode_conify_32.gif]] [[Extrude to Pyramid or Cone Tool|Extrude to Pyramid]] tools.}} |
Revision as of 16:42, 1 August 2014
This page is about a feature that is supported only in GeoGebra 5.0. |
- Pyramid[ <Point>, <Point>, ...]
- Returns a pyramid defined by the given points.
- Example:
Pyramid[A, B, C, D]
creates the pyramid with base ABC and apex D.
- Pyramid[ <Polygon>, <Point> ]
- Creates a pyramid with the given polygon as base and the point as apex.
- Example:
Pyramid[poly1, A]
creates a pyramid with base poly1 and apex A.
- Pyramid[ <Polygon>, <Height> ]
- Returns a centered pyramid defined by the polygon as base and given height.
- Example:
Pyramid[poly1, 3]
creates a centered pyramid with base poly1 and height 3.
Note: See also Pyramid and Extrude to Pyramid tools.