Table of Contents

Method GetSegment

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

GetSegment(int)

Gets one edge segment of the hexagon.

public Line2D GetSegment(int index)

Parameters

index int

The zero-based edge index in the range 0 to 5.

Returns

Line2D

The segment from the indexed vertex to the next vertex, wrapping on the last edge.