Difference between revisions of "Octahedron Command"

From GeoGebra Manual
Jump to: navigation, search
(command syntax: changed [ ] into ( ))
 
(13 intermediate revisions by 6 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}}
+
;Octahedron( <Point>, <Point>, <Direction> )
;Octahedron[ <Point>, <Point>, <Direction> ]
+
:Creates an octahedron having the segment between the two points as an edge.  
:Creates an octahedron, having two vertices of a side in the given points. The other vertices are univocally determined by the given object (a perpendicular vector, segment, plane or polygon) that indicates the direction for creation.
+
: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 octahedron 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.
 +
 
 +
; Octahedron( <Point>, <Point>, <Point>)
 +
:Creates an octahedron with the three points of the first face. The points have to draw an equilateral triangle for the octahedron to be defined.
 +
 
 +
; Octahedron( <Point>, <Point>)
 +
:Creates an octahedron with the two points of the first face, and the third point automatically created on a circle, so that the octahedron can rotate around its first edge.
 +
:{{Note|1=Octahedron(A, B) is a shortcut for Octahedron(A, B, C) with C = Point(Circle(Midpoint(A, B), Distance(A, B) sqrt(3) / 2, Segment(A, B))).}}
 +
 
 +
{{Note|1=See also [[Cube Command|Cube]], [[Tetrahedron Command|Tetrahedron]], [[Icosahedron Command|Icosahedron]], [[Dodecahedron Command|Dodecahedron]] commands. }}

Latest revision as of 12:59, 30 September 2017


Octahedron( <Point>, <Point>, <Direction> )
Creates an octahedron having the segment between the 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 octahedron 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.
Octahedron( <Point>, <Point>, <Point>)
Creates an octahedron with the three points of the first face. The points have to draw an equilateral triangle for the octahedron to be defined.
Octahedron( <Point>, <Point>)
Creates an octahedron with the two points of the first face, and the third point automatically created on a circle, so that the octahedron can rotate around its first edge.
Note: Octahedron(A, B) is a shortcut for Octahedron(A, B, C) with C = Point(Circle(Midpoint(A, B), Distance(A, B) sqrt(3) / 2, Segment(A, B))).
Note: See also Cube, Tetrahedron, Icosahedron, Dodecahedron commands.
© 2024 International GeoGebra Institute