Table of Contents

Constructor Hexagon2D

Namespace
Pinwheel.Vista.Geometric
Assembly
Pinwheel.Vista.Runtime.dll

Hexagon2D(Vector2, float, Orientation)

Creates a regular hexagon from center, radius, and orientation.

public Hexagon2D(Vector2 center, float radius, Hexagon2D.Orientation orientation)

Parameters

center Vector2

The center of the hexagon.

radius float

The circumradius of the hexagon.

orientation Hexagon2D.Orientation

The orientation used to place the first vertex.