Difference between revisions of "Dodecahedron Command"

From GeoGebra Manual
Jump to: navigation, search
m (command syntax: changed [ ] into ( ))
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{betamanual|version=5.0}}
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|3D}}
{{command|3D}}
+
;Dodecahedron( <Point>, <Point>, <Direction> )
;Dodecahedron[ <Point A>, <Point B>, <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.
  
<Direction> has to be
+
; Dodecahedron( <Point>, <Point>, <Point>)
* a vector, a segment, a line, a ray '''orthogonal  to ( AB)''';
+
: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.
or
 
* a polygon in a '''plan parallel to ( AB)'''.
 
 
 
 
 
Creates a dodecahedron of which a edge is segment [AB]. The other vertices are univocally determined by the given direction.
 
 
 
* One face with edge [AB] in a plan orthogonal to vector/segment/line/ray given
 
or
 
* One face with edge [AB] in a plan parallel to that of the polygon.
 
  
 +
; 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. }}

Latest revision as of 12:40, 30 September 2017


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