Difference between revisions of "Pyramid Command"
From GeoGebra Manual
m (1 revision) |
(command syntax: changed [ ] into ( )) |
||
(23 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|3D}} | |
− | + | ;Pyramid( <Point>, <Point>, ...) | |
− | + | :Returns a pyramid defined by the given points. | |
− | {{command|3D}} | + | :{{example| 1=<div><code><nowiki>Pyramid(A, B, C, D)</nowiki></code> creates the pyramid with base ''ABC'' and apex ''D''.</div>}} |
− | ;Pyramid | + | ;Pyramid( <Polygon>, <Point> ) |
− | :{{ | + | :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 base ''poly1'' and apex ''A''.</div>}} | ||
+ | ;Pyramid( <Polygon>, <Height> ) | ||
+ | :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 base ''poly1'' and height 3.</div>}} | ||
+ | {{Note| See also [[File:Mode pyramid.svg|link=|24px]] [[Pyramid Tool|Pyramid]] and [[File:Mode conify.svg|link=|24px]] [[Extrude to Pyramid or Cone Tool|Extrude to Pyramid]] tools.}} |
Latest revision as of 13:04, 30 September 2017
- 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.