Difference between revisions of "Pyramid Command"

From GeoGebra Manual
Jump to: navigation, search
m
(command syntax: changed [ ] into ( ))
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|3D}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|3D}}
 
+
;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 base ''ABC'' and apex ''D''.</div>}}
+
:{{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 given polygon as base and the point as apex.
 
: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>}}
+
:{{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 and given 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>}}
+
:{{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.png]] [[Pyramid Tool|Pyramid]] and [[Image:Mode conify.svg]] [[Extrude to Pyramid or Cone Tool|Extrude to Pyramid]] tools.}}
+
{{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 Mode pyramid.svg Pyramid and Mode conify.svg Extrude to Pyramid tools.
© 2024 International GeoGebra Institute