Table of Contents

Interface IPolarMap<TPoint>

Namespace
Gamelogic.Grids
Assembly
Assembly-CSharp.dll

An interface for polar maps that make it easier to build meshes for them.

public interface IPolarMap<TPoint> : IMap<TPoint>, IGridToWorldMap<TPoint> where TPoint : IGridPoint<TPoint>

Type Parameters

TPoint
Inherited Members
Extension Methods

Methods

GetEndAngleZ(TPoint)

Returns the Z angle in degrees of the given grid point at the end of the sector.

This is useful for making a mesh for the sector band, for instance.

float GetEndAngleZ(TPoint gridPoint)

Parameters

gridPoint TPoint

Returns

float

GetInnerRadius(TPoint)

Gets the inside radius of the band ath the given grid point.

float GetInnerRadius(TPoint gridPoint)

Parameters

gridPoint TPoint

Returns

float

GetOuterRadius(TPoint)

Gets the outside radius of the band ath the given grid point.

float GetOuterRadius(TPoint gridPoint)

Parameters

gridPoint TPoint

Returns

float

GetStartAngleZ(TPoint)

Returns the Z angle in degrees of the given grid point at the start of the sector.

This is useful for making a mesh for the sector band, for instance.

float GetStartAngleZ(TPoint gridPoint)

Parameters

gridPoint TPoint

Returns

float