C# Class BuildingCoder.CmdRectDuctCorners

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

Méthodes publiques

Méthode Description
Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result

Private Methods

Méthode Description
AnalyseDuct ( Duct duct ) : bool

Analyse the given duct element: determine its first rectangular connector, retrieve its solid, find the face containing the connector, and list its four vertices.

FaceContainsConnector ( Face face, Connector c ) : bool

Return true if the given face contains the given connector.

GetFirstRectangularConnector ( Duct duct, Connector &c1 ) : bool

Return the first rectangular connector of the given duct element.

Test1 ( Connector connector ) : XYZ
Test2 ( Connector connector ) : XYZ

Method Details

Execute() public méthode

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