C# Class BuildingCoder.CmdWallDimensions

Inheritance: IExternalCommand
ファイルを表示 Open project: jeremytammik/the_building_coder_samples

Public Methods

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

Private Methods

Method Description
DoubleEqual ( double a, double b ) : bool

Check whether two real numbers are equal

ProcessWall ( Wall wall ) : string
XyzParallel ( XYZ a, XYZ b ) : bool

Check whether two vectors are parallel

getDimensions ( Dictionary naos ) : string

Create a string listing the dimensions from a dictionary of normal vectors with associated face origins.

getFaceNaos ( Dictionary naos, Solid solid ) : void

Retrieve the planar face normal and origin from all of the solid's planar faces and insert them into the map mapping face normals to a list of all origins of different faces sharing this normal.

getMaxDistanceAlongNormal ( List pts, XYZ normal ) : double

Calculate the maximum distance between the given set of points in the given normal direction.

Method Details

Execute() public method

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