Table of Contents

Class PolygonGenerator

The polygon generator class

internal class PolygonGenerator

Inheritance

Inherited Members

Fields

PI_2

The pi

private static readonly double PI_2

Field Value

double

RNG

The random

private static readonly Random RNG

Field Value

Random

Methods

RandomCircleSweep(double, int)

Randoms the circle sweep using the specified scale

public static Polygon RandomCircleSweep(double scale, int vertexCount)

Parameters

scale double

The scale

vertexCount int

The vertex count

Returns

Polygon

The polygon polygon

RandomCircleSweep2(double, int)

Randoms the circle sweep 2 using the specified scale

public static Polygon RandomCircleSweep2(double scale, int vertexCount)

Parameters

scale double

The scale

vertexCount int

The vertex count

Returns

Polygon

The polygon polygon