C# Class BuildingCoder.CmdListAllRooms

Inheritance: IExternalCommand
Afficher le fichier Open project: jeremytammik/the_building_coder_samples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

BoundingBoxString2() public static méthode

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
Résultat string

DistinguishRoomsDraft() public méthode

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
Résultat void

Execute() public méthode

public Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
commandData ExternalCommandData
message string
elements ElementSet
Résultat System.Result

ListRoomData() public méthode

List some properties of a given room to the Visual Studio debug output window.
public ListRoomData ( Room room ) : void
room Room
Résultat void