Show / Hide Table of Contents

Class DoorUtils

Inheritance
System.Object
DoorUtils
Namespace: Edgar.Legacy.Core.Doors
Assembly: Edgar.dll
Syntax
public static class DoorUtils : Object

Methods

MergeDoorLines(IEnumerable<DoorLineGrid2D>)

Declaration
public static List<DoorLineGrid2D> MergeDoorLines(IEnumerable<DoorLineGrid2D> doorLines)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<DoorLineGrid2D> doorLines
Returns
Type Description
System.Collections.Generic.List<DoorLineGrid2D>

MergeDoorLines(IEnumerable<DoorLine>)

Merges all door lines that are directly next to each other and have the same length.

Declaration
public static List<DoorLine> MergeDoorLines(IEnumerable<DoorLine> doorLines)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<DoorLine> doorLines
Returns
Type Description
System.Collections.Generic.List<DoorLine>

TransformDoorLine(DoorLineGrid2D, TransformationGrid2D)

Declaration
public static DoorLineGrid2D TransformDoorLine(DoorLineGrid2D doorLine, TransformationGrid2D transformation)
Parameters
Type Name Description
DoorLineGrid2D doorLine
TransformationGrid2D transformation
Returns
Type Description
DoorLineGrid2D

TransformDoorLine(DoorLine, TransformationGrid2D)

Transform door line according to a given transformation.

Declaration
public static DoorLine TransformDoorLine(DoorLine doorLine, TransformationGrid2D transformation)
Parameters
Type Name Description
DoorLine doorLine
TransformationGrid2D transformation
Returns
Type Description
DoorLine
Back to top Generated by DocFX