Difference between revisions of "Cube Command"

From GeoGebra Manual
Jump to: navigation, search
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 A>, <Point B>, <Direction> ]
+
;Cube[ <Point A>, <Point B>, <Direction> ]
:Creates a cube having segment '''AB''' as an edge.  
+
:Creates a cube having segment ''AB'' 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 AB, or
+
:* a vector, a segment, a line, a ray '''orthogonal'''  to ''AB'', or
:* a polygon, a plane '''parallel''' to AB.
+
:* a polygon, a plane '''parallel''' to ''AB''.
 
:The created cube will have:
 
:The created cube will have:
:* a face with edge AB in a plane orthogonal to the given vector/segment/line/ray, or
+
:* a face with edge ''AB'' in a plane orthogonal to the given vector/segment/line/ray, or
:* a face with edge AB in a plane parallel to the polygon/plane.
+
:* a face with edge ''AB'' in a plane parallel to the polygon/plane.
 +
 
 +
; Cube[ <Point A>, <Point B>]
 +
: Creates a cube having segment ''AB'' as an edge, and first face contained in 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 12:09, 19 May 2013


Cube[ <Point A>, <Point B>, <Direction> ]
Creates a cube having segment AB 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 AB, or
  • a polygon, a plane parallel to AB.
The created cube will have:
  • a face with edge AB in a plane orthogonal to the given vector/segment/line/ray, or
  • a face with edge AB in a plane parallel to the polygon/plane.
Cube[ <Point A>, <Point B>]
Creates a cube having segment AB as an edge, and first face contained in xOy plane.
Note: See also Tetrahedron, Octahedron, Icosahedron, Dodecahedron commands.
© 2024 International GeoGebra Institute