Class RoomTemplateInstance
Inheritance
System.Object
RoomTemplateInstance
Assembly: Edgar.dll
Syntax
public class RoomTemplateInstance : Object
Constructors
Declaration
public RoomTemplateInstance(RoomTemplate roomTemplate, PolygonGrid2D roomShape, TransformationGrid2D transformation, List<DoorLine> doorLines)
Parameters
Declaration
public RoomTemplateInstance(RoomTemplate roomTemplate, PolygonGrid2D roomShape, List<TransformationGrid2D> transformations, List<DoorLine> doorLines)
Parameters
Properties
DoorLines
Declaration
public List<DoorLine> DoorLines { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<DoorLine> |
|
RoomShape
Room shape after transformation.
Declaration
public PolygonGrid2D RoomShape { get; }
Property Value
RoomShapeAlias
Room shape after transformation.
Declaration
public IntAlias<PolygonGrid2D> RoomShapeAlias { get; set; }
Property Value
RoomTemplate
Declaration
public RoomTemplate RoomTemplate { get; }
Property Value
All transformations that led to this room shape.
Declaration
public List<TransformationGrid2D> Transformations { get; }
Property Value
Methods
Equals(RoomTemplateInstance)
Declaration
protected bool Equals(RoomTemplateInstance other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Operators
Equality(RoomTemplateInstance, RoomTemplateInstance)
Declaration
public static bool operator ==(RoomTemplateInstance left, RoomTemplateInstance right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(RoomTemplateInstance, RoomTemplateInstance)
Declaration
public static bool operator !=(RoomTemplateInstance left, RoomTemplateInstance right)
Parameters
Returns
Type |
Description |
System.Boolean |
|