Difference between revisions of "Prism Command"
From GeoGebra Manual
(command syntax: changed [ ] into ( )) |
|||
(6 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=5.0}}</noinclude> | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|3D}} |
− | {{command|3D}} | + | ;Prism( <Point>, <Point>, ... ) |
− | ;Prism | ||
:Returns a prism defined by the given points. | :Returns a prism defined by the given points. | ||
− | {{example| 1=<div><code><nowiki>Prism | + | :{{example| 1=<div><code><nowiki>Prism(A, B, C, D)</nowiki></code> creates the prism with base ABC and top DEF. The vectors AD, BE, CF are equal.</div>}} |
− | ;Prism | + | ;Prism( <Polygon>, <Point> ) |
− | :Creates a | + | :Creates a prism with the given polygon as base and the point as first top point. |
− | ;Prism | + | :{{example| 1=<div><code><nowiki>Prism(poly1, A)</nowiki></code> creates a prism with base ''poly1'' and top point ''A''.</div>}} |
− | :Creates a right prism with the polygon as base | + | ;Prism( <Polygon>, <Height value> ) |
− | {{Note| See also [[ | + | :Creates a right prism with the polygon as base and given height. |
+ | :{{example| 1=<div><code><nowiki>Prism(poly1, 3)</nowiki></code> creates a prism with base ''poly1'' and height 3.</div>}} | ||
+ | {{Note| See also [[File:Mode prism.svg|link=|24px]] [[Prism Tool|Prism]] and [[Image:Mode extrusion.svg|link=|24px]] [[Extrude to Prism or Cylinder Tool|Extrude to Prism]] tools.}} |
Latest revision as of 13:03, 30 September 2017
- Prism( <Point>, <Point>, ... )
- Returns a prism defined by the given points.
- Example:
Prism(A, B, C, D)
creates the prism with base ABC and top DEF. The vectors AD, BE, CF are equal.
- Prism( <Polygon>, <Point> )
- Creates a prism with the given polygon as base and the point as first top point.
- Example:
Prism(poly1, A)
creates a prism with base poly1 and top point A.
- Prism( <Polygon>, <Height value> )
- Creates a right prism with the polygon as base and given height.
- Example:
Prism(poly1, 3)
creates a prism with base poly1 and height 3.
Note: See also Prism and Extrude to Prism tools.