C# Class BuildingCoder.CmdWallProfileArea

Inheritance: IExternalCommand
显示文件 Open project: jeremytammik/the_building_coder_samples Class Usage Examples

Public Methods

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

Private Methods

Method Description
ApplyTransform ( List polygon, Transform t ) : List
GetPolygonAreas ( List polygons ) : double[]
GetPolygonPlane ( List polygon, XYZ &normal, double &dist, double &area ) : bool

Return the plane properties of a given polygon, i.e. the plane normal, area, and its distance from the origin. Cf. also GetSignedPolygonArea.

GetTransformToZ ( XYZ v ) : Transform

Method Details

Execute() public method

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