Cube Command

From GeoGebra Manual
Revision as of 22:02, 21 May 2013 by Noel Lambert (talk | contribs) (warning shortcut)
Jump to: navigation, search


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>]
This syntax is a shortcut for Cube[ <Point A>, <Point B>, xOyPlane], this requires that AB is parallel to xOy plane.
Creates a cube having segment AB as an edge, and a face contained in a plane parallel to xOy plane.
Note: See also Tetrahedron, Octahedron, Icosahedron, Dodecahedron commands.
© 2024 International GeoGebra Institute