C# 클래스 BuildingCoder.CmdListAllRooms

상속: IExternalCommand
파일 보기 프로젝트 열기: jeremytammik/the_building_coder_samples

공개 메소드들

메소드 설명
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