Difference between revisions of "Prism Command"

From GeoGebra Manual
Jump to: navigation, search
Line 6: Line 6:
 
;Prism[ <Polygon>, <Point>]
 
;Prism[ <Polygon>, <Point>]
 
:Creates a Prism with the polygon as base area and the point as first top point.  
 
:Creates a Prism with the polygon as base area and the point as first top point.  
 +
:{{example| 1=<div><code><nowiki>Prism[poly1, A]</nowiki></code>creates a prism with basis poly1 and top point A.</div>}}
 
;Prism[ <Polygon>, <Height value>]
 
;Prism[ <Polygon>, <Height value>]
 
:Creates a right prism with the polygon as base area and given height.  
 
:Creates a right prism with the polygon as base area and given height.  
 +
:{{example| 1=<div><code><nowiki>Prism[poly1, 3]</nowiki></code>creates a prism with basis poly1 and height 3.</div>}}
 
{{Note| See also [[Image:Mode_prism_32.gif]] [[Prism Tool|Prism]] and [[Image:Mode_extrusion_32.gif]] [[Extrude to Prism or Cylinder Tool|Extrude to Prism]] tools.}}
 
{{Note| See also [[Image:Mode_prism_32.gif]] [[Prism Tool|Prism]] and [[Image:Mode_extrusion_32.gif]] [[Extrude to Prism or Cylinder Tool|Extrude to Prism]] tools.}}

Revision as of 14:05, 29 July 2014



Prism[ <Point>, <Point>, ...]
Returns a prism defined by the given points.
Example:
Prism[A, B, C, D]creates the prism with basis ABC and top DEF. The vectors AD, BE, CF are equal.
Prism[ <Polygon>, <Point>]
Creates a Prism with the polygon as base area and the point as first top point.
Example:
Prism[poly1, A]creates a prism with basis poly1 and top point A.
Prism[ <Polygon>, <Height value>]
Creates a right prism with the polygon as base area and given height.
Example:
Prism[poly1, 3]creates a prism with basis poly1 and height 3.
Note: See also Mode prism 32.gif Prism and Mode extrusion 32.gif Extrude to Prism tools.
© 2022 International GeoGebra Institute