C# 클래스 Revit.SDK.Samples.PathReinforcement.CS.Profile

This class stores the geometry information of path reinforcement.
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( Graphics graphics, Size size, Pen pen ) : void

Draw the curves of path reinforcement.

Profile ( Autodesk pathRein, ExternalCommandData commandData ) : System

Constructor

비공개 메소드들

메소드 설명
ComputeBound ( ) : void

Compute the bound of the curves of path reinforcement.

ComputePathTo2D ( ) : void

Transform 3d path to 2d path.

GetActiveViewMatrix ( ) : Matrix4

Get view matrix from active view.

Tessellate ( ) : void

Tessellate the curves of path reinforcement.

메소드 상세

Draw() 공개 메소드

Draw the curves of path reinforcement.
public Draw ( Graphics graphics, Size size, Pen pen ) : void
graphics System.Drawing.Graphics Gdi object, used to draw curves of path reinforcement.
size System.Drawing.Size Bound to limit the size of the whole picture
pen System.Drawing.Pen Gdi object,determine the color of the line.
리턴 void

Profile() 공개 메소드

Constructor
public Profile ( Autodesk pathRein, ExternalCommandData commandData ) : System
pathRein Autodesk selected path reinforcement element.
commandData ExternalCommandData External command data
리턴 System