Interface IDoorHandler
Represents a class that can compute door positions for a given polygon and door mode.
Namespace: Edgar.Legacy.Core.Doors.Interfaces
Assembly: Edgar.dll
Syntax
public interface IDoorHandler
Methods
GetDoorPositions(PolygonGrid2D, IDoorMode)
Gets door positions for a given polygon based on a given door mode.
Declaration
List<DoorLine> GetDoorPositions(PolygonGrid2D polygon, IDoorMode doorMode)
Parameters
Type | Name | Description |
---|---|---|
PolygonGrid2D | polygon | |
IDoorMode | doorMode |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<DoorLine> |
Remarks
All the lines must have the same direction as corresponding sides of the polygon.