Difference between revisions of "Cube Command"
From GeoGebra Manual
m (style) |
|||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{betamanual|version=5.0}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{betamanual|version=5.0}} | ||
{{command|3D}} | {{command|3D}} | ||
− | ;Cube[ <Point | + | ;Cube[ <Point>, <Point>, <Direction> ] |
− | :Creates a cube having segment | + | :Creates a cube having the segment between the two points as an edge. |
:The other vertices are uniquely determined by the given direction, that should be one of: | :The other vertices are uniquely determined by the given direction, that should be one of: | ||
− | :* a vector, a segment, a line, a ray '''orthogonal''' to | + | :* a vector, a segment, a line, a ray '''orthogonal''' to the segment, or |
− | :* a polygon, a plane '''parallel''' to | + | :* a polygon, a plane '''parallel''' to the segment. |
:The created cube will have: | :The created cube will have: | ||
− | :* a face with edge | + | :* a face with the segment as an edge in a plane orthogonal to the given vector/segment/line/ray, or |
− | :* a face with edge | + | :* a face with the segment as an edge in a plane parallel to the polygon/plane. |
− | ; Cube[ <Point | + | ; Cube[ <Point>, <Point>] |
− | :Creates a cube having segment | + | :Creates a cube having the segment between two points as an edge, and a face contained in a plane parallel to xOy plane. |
− | :{{Note|1=This syntax is a shortcut for Cube[ <Point | + | :{{Note|1=This syntax is a shortcut for Cube[ <Point>, <Point>, xOyPlane], which requires that the segment is parallel to xOy plane.}} |
{{Note|1=See also [[Tetrahedron Command|Tetrahedron]], [[Octahedron Command|Octahedron]], [[Icosahedron Command|Icosahedron]], [[Dodecahedron Command|Dodecahedron]] commands. }} | {{Note|1=See also [[Tetrahedron Command|Tetrahedron]], [[Octahedron Command|Octahedron]], [[Icosahedron Command|Icosahedron]], [[Dodecahedron Command|Dodecahedron]] commands. }} |
Revision as of 11:30, 29 July 2014
This page is about a feature that is supported only in GeoGebra 5.0. |
- Cube[ <Point>, <Point>, <Direction> ]
- Creates a cube having the segment between the two points as an edge.
- The other vertices are uniquely determined by the given direction, that should be one of:
- a vector, a segment, a line, a ray orthogonal to the segment, or
- a polygon, a plane parallel to the segment.
- The created cube will have:
- a face with the segment as an edge in a plane orthogonal to the given vector/segment/line/ray, or
- a face with the segment as an edge in a plane parallel to the polygon/plane.
- Cube[ <Point>, <Point>]
- Creates a cube having the segment between two points as an edge, and a face contained in a plane parallel to xOy plane.
- Note: This syntax is a shortcut for Cube[ <Point>, <Point>, xOyPlane], which requires that the segment is parallel to xOy plane.
Note: See also Tetrahedron, Octahedron, Icosahedron, Dodecahedron commands.