“Polygon 指令”的版本间的差异

来自GeoGebra Manual
跳转至: 导航搜索
(en)
第1行: 第1行:
<noinclude>{{Manual Page|version=4.0}}</noinclude>{{command|geometry|Polygon}}
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|geometry}}
;Polygon[ <Point>, ..., <Point> ]
+
; Polygon( <Point>, ..., <Point> )
:{{translate|Polygon Command}}
+
: Returns a polygon defined by the given points.
;Polygon[ <Point>, <Point>, <Number of Vertices> ]
+
:{{example|1=<code><nowiki>Polygon((1, 1), (3, 0), (3, 2), (0, 4))</nowiki></code> yields a quadrilateral.}}
:{{translate|Polygon Command}}
+
; Polygon( <Point>, <Point>, <Number of Vertices> )
;Polygon[ <List of Points> ]
+
: Creates a regular polygon with ''n'' vertices.
:{{translate|Polygon Command}}
+
:{{example|1=<code><nowiki>Polygon((1, 1), (4, 1), 6)</nowiki></code> yields a hexagon.}}
; Polygon[Point A, Point B, Point C,...]: Returns a polygon defined by the given points ''A'', ''B'', ''C'',
+
; Polygon( <List of Points> )
; Polygon[Point A, Point B, Number n]: Creates a regular polygon with ''n'' vertices (and one side between points ''A'' and ''B'').
+
: Returns a polygon defined by the points in the list.
; Polygon[List of points]: Returns a polygon defined by the points in the list
+
:{{example|1=<code><nowiki>Polygon({(0, 0), (2, 1), (1, 3)})</nowiki></code> yields a triangle.}}
 +
;Polygon( <Point>, <Point>, <Number of Vertices n>, <Direction> )
 +
:Creates a regular polygon with ''n'' vertices, and directed by the ''direction'' (e.g. a plane to which the polygon will be parallel, if possible).
  
{{Note| See also [[Image:Tool Polygon.gif]] [[Polygon Tool|Polygon]] and [[Image:Tool Regular_Polygon.gif]] [[Regular Polygon Tool|Regular Polygon]] tools.}}
+
{{Note| See also [[File:Mode polygon.svg|link=|24px]] [[Polygon Tool|Polygon]] and [[File:Mode regularpolygon.svg|link=|24px]] [[Regular Polygon Tool|Regular Polygon]] tools.}}

2021年9月2日 (四) 07:15的版本

Accessories dictionary.png
本頁為官方文件,一般使用者無法修改,若有任何誤謬,請與官方聯絡。如欲編輯,請至本頁的開放版


Polygon( <Point>, ..., <Point> )
Returns a polygon defined by the given points.
範例: Polygon((1, 1), (3, 0), (3, 2), (0, 4)) yields a quadrilateral.
Polygon( <Point>, <Point>, <Number of Vertices> )
Creates a regular polygon with n vertices.
範例: Polygon((1, 1), (4, 1), 6) yields a hexagon.
Polygon( <List of Points> )
Returns a polygon defined by the points in the list.
範例: Polygon({(0, 0), (2, 1), (1, 3)}) yields a triangle.
Polygon( <Point>, <Point>, <Number of Vertices n>, <Direction> )
Creates a regular polygon with n vertices, and directed by the direction (e.g. a plane to which the polygon will be parallel, if possible).
備註: See also Mode polygon.svg Polygon and Mode regularpolygon.svg Regular Polygon tools.
© 2024 International GeoGebra Institute