Skip to contents

Create a regular polygon.

Usage

regPolygon(x = 0, y = 0, radius = 1, numVertices = 6, startAngle = 0)

Arguments

x, y

centre coordinates.

radius

circumradius.

numVertices

number of vertices.

startAngle

staring angle in radians.

Value

An object inheriting from class "regPolygonGeometry".

See also

Other geometry.structures: arc(), band(), bezier(), circle(), ellipse(), polygon(), ring()