C# 클래스 BuildingCoder.CmdSlabBoundaryArea

상속: IExternalCommand
파일 보기 프로젝트 열기: jeremytammik/the_building_coder_samples 1 사용 예제들

공개 메소드들

메소드 설명
Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : System.Result
Flatten ( List polygon ) : List

Eliminate the Z coordinate.

GetSignedPolygonArea ( List p ) : double

Use the formula area = sign * 0.5 * sum( xi * ( yi+1 - yi-1 ) ) to determine the winding direction (clockwise or counter) and area of a 2D polygon. Cf. also GetPolygonPlane.

비공개 메소드들

메소드 설명
Flatten ( List polygons ) : List>

Eliminate the Z coordinate.

Flatten ( XYZ point ) : UV

Eliminate the Z coordinate.

메소드 상세

Execute() 공개 메소드

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

Flatten() 공개 정적인 메소드

Eliminate the Z coordinate.
public static Flatten ( List polygon ) : List
polygon List
리턴 List

GetSignedPolygonArea() 공개 정적인 메소드

Use the formula area = sign * 0.5 * sum( xi * ( yi+1 - yi-1 ) ) to determine the winding direction (clockwise or counter) and area of a 2D polygon. Cf. also GetPolygonPlane.
public static GetSignedPolygonArea ( List p ) : double
p List
리턴 double