C# Класс BuildingCoder.CmdListAllRooms

Наследование: IExternalCommand
Показать файл Открыть проект

Открытые методы

Метод Описание
BoundingBoxString2 ( BoundingBoxXYZ bb ) : string

Return a string for a bounding box which may potentially be null with its coordinates formatted to two decimal places.

DistinguishRoomsDraft ( Document doc, StringBuilder &sb, int &numErr, int &numWarn ) : void

Draft for method to distinguish 'Not Placed', 'Redundant' and 'Not Enclosed' rooms.

Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
ListRoomData ( Room room ) : void

List some properties of a given room to the Visual Studio debug output window.

Приватные методы

Метод Описание
DistinguishRoom ( Room room ) : RoomState

Distinguish 'Not Placed', 'Redundant' and 'Not Enclosed' rooms.

GetBoundingBox ( IList boundary ) : BoundingBoxXYZ

Return bounding box calculated from the room boundary segments. The lower left corner turns out to be identical with the one returned by the standard room bounding box.

GetConvexHullOfRoomBoundary ( IList boundary ) : List

Return bounding box calculated from the room boundary segments. The lower left corner turns out to be identical with the one returned by the standard room bounding box.

Описание методов

BoundingBoxString2() публичный статический метод

Return a string for a bounding box which may potentially be null with its coordinates formatted to two decimal places.
public static BoundingBoxString2 ( BoundingBoxXYZ bb ) : string
bb BoundingBoxXYZ
Результат string

DistinguishRoomsDraft() публичный метод

Draft for method to distinguish 'Not Placed', 'Redundant' and 'Not Enclosed' rooms.
public DistinguishRoomsDraft ( Document doc, StringBuilder &sb, int &numErr, int &numWarn ) : void
doc Document
sb StringBuilder
numErr int
numWarn int
Результат void

Execute() публичный метод

public Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData
message string
elements ElementSet
Результат System.Result

ListRoomData() публичный метод

List some properties of a given room to the Visual Studio debug output window.
public ListRoomData ( Room room ) : void
room Room
Результат void