C# 클래스 Revit.SDK.Samples.NewHostedSweep.CS.EdgeBinding

Binds an edge with some properties which contains its geometry information and indicates whether the edge is selected or highlighted.
상속: IDisposable
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Dispose

Draw ( Graphics g ) : void

Draw the edge in Graphics.

EdgeBinding ( System.Edge edge ) : System

Constructor takes Edge as parameter.

HighLight ( float x, float y ) : bool

If the edge under the location (x, y), set the highlight flag to true, otherwise false.

Reset ( ) : void

Reset the status of the edge: un-highlighted, un-selected

Update ( Transform rotation, XYZ translation, double scale ) : void

Update the edge's geometry according to the transformation.

비공개 메소드들

메소드 설명
GetRegion ( ) : Region

Return the Edge Region.

HitTest ( float x, float y ) : bool

Test whether or not the edge is under a specified location.

메소드 상세

Dispose() 공개 메소드

Dispose
public Dispose ( ) : void
리턴 void

Draw() 공개 메소드

Draw the edge in Graphics.
public Draw ( Graphics g ) : void
g System.Drawing.Graphics Graphics
리턴 void

EdgeBinding() 공개 메소드

Constructor takes Edge as parameter.
public EdgeBinding ( System.Edge edge ) : System
edge System.Edge Edge
리턴 System

HighLight() 공개 메소드

If the edge under the location (x, y), set the highlight flag to true, otherwise false.
public HighLight ( float x, float y ) : bool
x float X coordinate
y float Y coordinate
리턴 bool

Reset() 공개 메소드

Reset the status of the edge: un-highlighted, un-selected
public Reset ( ) : void
리턴 void

Update() 공개 메소드

Update the edge's geometry according to the transformation.
public Update ( Transform rotation, XYZ translation, double scale ) : void
rotation Transform Rotation transform
translation XYZ Translation transform
scale double Scale transform
리턴 void