Difference between revisions of "Pyramid Command"

From GeoGebra Manual
Jump to: navigation, search
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}}
test
+
;Pyramid( <Point>, <Point>, ...)
uu<noinclude>{{Manual Page|version=4.0}}<noinclude/>
+
: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[ <Point3D>, <Point3D>, ...]
+
;Pyramid( <Polygon>, <Point> )
:{{description}}
+
: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 Mode pyramid.svg Pyramid and Mode conify.svg Extrude to Pyramid tools.
© 2024 International GeoGebra Institute