C# 클래스 Revit.SDK.Samples.MultiplanarRebar.CS.GeometryUtil

This class is to parse the geometry information of given Corbel FamilyInstance, and finally construct a CorbelFrame according to the parsed geometry information.
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
ParseCorbelGeometry ( FamilyInstance corbel ) : CorbelFrame

This method parses geometry information of given Corbel to construct the CorbelFrame.

비공개 메소드들

메소드 설명
ConstructCorbelFrame ( FamilyInstance corbel, System.Edge depthEdge, System.Edge leftEdge, System.Edge bottomEdge, System.Edge rightEdge, System.Edge topEdge, Document revitDoc, PlanarFace trapezoidFace, double hostDepth, double hostTopCoverDistance ) : CorbelFrame

Create the CorbelFrame object with the given trapezoid face, corbel and its host information.

GetCommonVertex ( System.Edge edge1, System.Edge edge2 ) : XYZ

Get the common vertex XYZ of two edges.

GetDistance ( PlanarFace face1, PlanarFace face2 ) : double

Compute the distance between two planar faces.

GetElementSolid ( Element element ) : Solid

Extract the Solid of given element.

GetNormalOutside ( Face face ) : XYZ

Compute the outside normal of given face.

IsTrapezoid ( XYZ hostNormal, PlanarFace corbelBottomFace, System.Edge bottomEdge, PlanarFace &trapezoidFace, System.Edge &topEdge, System.Edge &leftEdge, System.Edge &rightEdge ) : bool

Check if the given bottom edge was shared by a trapezoid face with left edge vertical.

메소드 상세

ParseCorbelGeometry() 공개 정적인 메소드

This method parses geometry information of given Corbel to construct the CorbelFrame.
public static ParseCorbelGeometry ( FamilyInstance corbel ) : CorbelFrame
corbel FamilyInstance Given corbel family instance to parse
리턴 CorbelFrame