C# 클래스 Revit.SDK.Samples.CurtainWallGrid.CS.WallDrawing

maintain the baseline of the curtain wall
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SCALEFACTOR double

공개 메소드들

메소드 설명
AddMousePosition ( Point mousePosition ) : void

store mouse position when mouse moves (the location will be the candidate end points of the baseline)

AddPoint ( Point mousePosition ) : void

Add point to baseline of the curtain wall

Draw ( Graphics graphics, Pen pen ) : void

draw the baseline for the curtain wall creation in the picture box in the "Create Curtain Wall" tab page, user needs to draw the baseline for wall creation

RemovePoints ( ) : void

Clear points in baseline

WallDrawing ( WallGeometry wallGeo ) : System

default constructor

비공개 메소드들

메소드 설명
ConvertToPointD ( Point srcPoint ) : PointD

scale the point and store them in PointD format

DrawBaseline ( Graphics graphics, Pen pen ) : void

draw the baseline / the candidate baseline (start point confirmed, end point didn't)

DrawCoordinateOrigin ( Graphics graphics, Pen pen ) : void

draw the coordinate system origin for the baseline drawing

WriteCoordinate ( Graphics graphics, Pen pen ) : void

write the coordinate for moving mouse

메소드 상세

AddMousePosition() 공개 메소드

store mouse position when mouse moves (the location will be the candidate end points of the baseline)
public AddMousePosition ( Point mousePosition ) : void
mousePosition Point /// the location of the mouse cursor ///
리턴 void

AddPoint() 공개 메소드

Add point to baseline of the curtain wall
public AddPoint ( Point mousePosition ) : void
mousePosition Point /// the location of the mouse cursor ///
리턴 void

Draw() 공개 메소드

draw the baseline for the curtain wall creation in the picture box in the "Create Curtain Wall" tab page, user needs to draw the baseline for wall creation
public Draw ( Graphics graphics, Pen pen ) : void
graphics System.Drawing.Graphics /// form graphic ///
pen System.Drawing.Pen /// pen used to draw line in pictureBox ///
리턴 void

RemovePoints() 공개 메소드

Clear points in baseline
public RemovePoints ( ) : void
리턴 void

WallDrawing() 공개 메소드

default constructor
public WallDrawing ( WallGeometry wallGeo ) : System
wallGeo WallGeometry /// the mapped wall geometry information ///
리턴 System

프로퍼티 상세

SCALEFACTOR 공개적으로 프로퍼티

public double SCALEFACTOR
리턴 double