Difference between revisions of "Dodecahedron Command"

From GeoGebra Manual
Jump to: navigation, search
Line 10: Line 10:
 
:* a face with the segment as an edge in a plane parallel to the polygon/plane.
 
:* a face with the segment as an edge in a plane parallel to the polygon/plane.
  
;Dodecahedron[ <Point>, <Point>]
+
; Dodecahedron[ <Point>, <Point>, <Point>]
:Creates a dodecahedron having the segment between the two points as an edge, and a face contained in a plane parallel to xOy plane.  
+
:Creates a dodecahedron with three (adjacent) points of the first face. The points have to start a regular pentagon for the dodecahedron to be defined.
:{{Note|1=This syntax is a shortcut for Dodecahedron[ <Point>, <Point>, xOyPlane], which requires that the segment between the two points is parallel to xOy plane.}}
+
 
 +
; Dodecahedron[ <Point>, <Point>]
 +
:Creates a dodecahedron with two (adjacent) points of the first face, and the third point automatically created on a circle, so that the dodecahedron can rotate around its first edge.
 +
:{{Note|1=Dodecahedron[A, B] is a shortcut for Dodecahedron[A, B, C] with C = Point[Circle[((1 - sqrt(5)) A + (3 + sqrt(5)) B) / 4, Distance[A, B] sqrt(10 + 2sqrt(5)) / 4, Segment[A, B]]].}}
  
 
{{Note|1=See also [[Cube Command|Cube]], [[Tetrahedron Command|Tetrahedron]], [[Icosahedron Command|Icosahedron]], [[Octahedron Command|Octahedron]] commands. }}
 
{{Note|1=See also [[Cube Command|Cube]], [[Tetrahedron Command|Tetrahedron]], [[Icosahedron Command|Icosahedron]], [[Octahedron Command|Octahedron]] commands. }}

Revision as of 21:54, 10 November 2014


Dodecahedron[ <Point>, <Point>, <Direction> ]
Creates a dodecahedron having the segment between two points as an edge.
The other vertices are univocally determined by the given direction, that needs to be:
  • a vector, a segment, a line, a ray orthogonal to the segment, or
  • a polygon, a plane parallel to the segment.
The created dodecahedron 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.
Dodecahedron[ <Point>, <Point>, <Point>]
Creates a dodecahedron with three (adjacent) points of the first face. The points have to start a regular pentagon for the dodecahedron to be defined.
Dodecahedron[ <Point>, <Point>]
Creates a dodecahedron with two (adjacent) points of the first face, and the third point automatically created on a circle, so that the dodecahedron can rotate around its first edge.
Note: Dodecahedron[A, B] is a shortcut for Dodecahedron[A, B, C] with C = Point[Circle[((1 - sqrt(5)) A + (3 + sqrt(5)) B) / 4, Distance[A, B] sqrt(10 + 2sqrt(5)) / 4, Segment[A, B]]].
Note: See also Cube, Tetrahedron, Icosahedron, Octahedron commands.
© 2024 International GeoGebra Institute