Table of Contents

Method Regular

Namespace
LMKit.Graphics.Geometry
Assembly
LM-Kit.NET.dll

Regular(Point, double, int)

Creates a regular N-sided polygon inscribed in a circle.

public static Polygon Regular(Point center, double radius, int sides)

Parameters

center Point

The center of the circumscribed circle.

radius double

The radius of the circumscribed circle.

sides int

Number of sides. Must be at least 3.

Returns

Polygon

A regular polygon with sides vertices.