Difference between revisions of "Pyramid Command"

From GeoGebra Manual
Jump to: navigation, search
(command syntax: changed [ ] into ( ))
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{betamanual|version=5.0}}
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|3D}}
{{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 basis 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 polygon as base area and the point as apex.
+
:Creates a pyramid with the given polygon as base and the point as apex.
;Pyramid[ <Polygon>, <Height> ]
+
:{{example| 1=<div><code><nowiki>Pyramid(poly1, A)</nowiki></code> creates a pyramid with base ''poly1'' and apex ''A''.</div>}}
:Returns a centered pyramid defined by the polygon as base area and the given height.  
+
;Pyramid( <Polygon>, <Height> )
{{example| 1=<div><code><nowiki>Pyramid[poly1, 3]</nowiki></code>creates a centered pyramid with basis poly1 and height 3.</div>}}
+
: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 Mode pyramid.svg Pyramid and Mode conify.svg Extrude to Pyramid tools.
© 2024 International GeoGebra Institute