GeoGebra

Polygon Command

Jump to: navigation, search

Regular Polygon

Syntax: Polygon[Point A, Point B, n]

Action: Creates a regular polygon of n sides

Example: Polygon[A,B,7]

Note:

  • Polygon[A,B,7] Produces a 7 sided regular polygon.
  • Seven Segments are produced along with seven points at the vertices of the polgon.
  • The area is returned to the algebra window as for example poly1 = 32.71


Regular Polygon Example


Irregular Polygon

Syntax: Polygon[Point A, Point B, Point C, Point D]

Action: Creates a polygon through a list of at least three points.

Example: Polygon[A, B, C, D]

Note:

  • Segments are created between the points.
  • The command returns the area of the polygon to the algebra window : poly1 = 5.52


Irregular Polygon Example



Go to:

Mode Descriptions

Command Descriptions

GeoGebra User's Guide