C# 클래스 Revit.SDK.Samples.Openings.CS.Line2D

represent a geometry segment line
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
Line2D ( ) : System

constructor default StartPoint = (0.0, 0.0), EndPoint = (1.0, 0.0)

Line2D ( PointF startPnt, PointF endPnt ) : System

constructor

비공개 메소드들

메소드 설명
CalculateBoundingBox ( ) : void

calculate BoundingBox according to StartPoint and EndPoint

CalculateDirection ( ) : void

calculate Direction by StartPoint and EndPoint

CalculateEndPoint ( ) : void

calculate EndPoint by StartPoint, Length and Direction

CalculateLength ( ) : void

calculate length by StartPoint and EndPoint

메소드 상세

Line2D() 공개 메소드

constructor default StartPoint = (0.0, 0.0), EndPoint = (1.0, 0.0)
public Line2D ( ) : System
리턴 System

Line2D() 공개 메소드

constructor
public Line2D ( PointF startPnt, PointF endPnt ) : System
startPnt System.Drawing.PointF StartPoint
endPnt System.Drawing.PointF EndPoint
리턴 System