Skip to contents

Create one or more circular or elliptic arcs.

Usage

arc(
  x = 0,
  y = 0,
  radiusX = 1,
  radiusY = radiusX,
  startAngle = 0,
  endAngle = 2 * pi,
  numPoints = 100
)

Arguments

x, y

coordinates of the arc centre

radiusX, radiusY

horizontal and vertical radius

startAngle, endAngle

start and end angle in radians

numPoints

number of points used to approximate the arc

Value

An object inheriting from class "arcGeometry".

See also

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