C# 클래스 Revit.SDK.Samples.CreateViewSection.CS.XYZMath

The helper class which give some operation about point and vector. The point and vector are both presented by Autodesk.Revit.DB.XYZ structure.
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
FindDirection ( Autodesk first, Autodesk second ) : Autodesk.Revit.DB.XYZ

Find the direction vector from first point to second point

FindDistance ( Autodesk first, Autodesk second ) : double

Find the distance between two points

FindFloorViewDirection ( CurveArray curveArray ) : Autodesk.Revit.DB.XYZ

Find the view direction vector, which is the same meaning of ViewDirection property in View class

FindMidPoint ( Autodesk first, Autodesk second ) : Autodesk.Revit.DB.XYZ

Find the middle point of the line.

FindMiddlePoint ( CurveArray curveArray ) : Autodesk.Revit.DB.XYZ

Find the middle point of a profile. This method is used to find out middle point of the selected wall or floor.

FindRightDirection ( Autodesk viewDirection ) : Autodesk.Revit.DB.XYZ

Find the right direction vector, which is the same meaning of RightDirection property in View class

FindUpDirection ( Autodesk viewDirection ) : Autodesk.Revit.DB.XYZ

Find the up direction vector, which is the same meaning of UpDirection property in View class

FindWallViewDirection ( CurveArray curveArray ) : Autodesk.Revit.DB.XYZ

Find the view direction vector, which is the same meaning of ViewDirection property in View class

메소드 상세

FindDirection() 공개 정적인 메소드

Find the direction vector from first point to second point
public static FindDirection ( Autodesk first, Autodesk second ) : Autodesk.Revit.DB.XYZ
first Autodesk the first point
second Autodesk the second point
리턴 Autodesk.Revit.DB.XYZ

FindDistance() 공개 정적인 메소드

Find the distance between two points
public static FindDistance ( Autodesk first, Autodesk second ) : double
first Autodesk the first point
second Autodesk the first point
리턴 double

FindFloorViewDirection() 공개 정적인 메소드

Find the view direction vector, which is the same meaning of ViewDirection property in View class
public static FindFloorViewDirection ( CurveArray curveArray ) : Autodesk.Revit.DB.XYZ
curveArray CurveArray the curve array which form floor's AnalyticalModel
리턴 Autodesk.Revit.DB.XYZ

FindMidPoint() 공개 정적인 메소드

Find the middle point of the line.
public static FindMidPoint ( Autodesk first, Autodesk second ) : Autodesk.Revit.DB.XYZ
first Autodesk the start point of the line
second Autodesk the end point of the line
리턴 Autodesk.Revit.DB.XYZ

FindMiddlePoint() 공개 정적인 메소드

Find the middle point of a profile. This method is used to find out middle point of the selected wall or floor.
public static FindMiddlePoint ( CurveArray curveArray ) : Autodesk.Revit.DB.XYZ
curveArray CurveArray the array of curve which form the profile
리턴 Autodesk.Revit.DB.XYZ

FindRightDirection() 공개 정적인 메소드

Find the right direction vector, which is the same meaning of RightDirection property in View class
public static FindRightDirection ( Autodesk viewDirection ) : Autodesk.Revit.DB.XYZ
viewDirection Autodesk the view direction vector
리턴 Autodesk.Revit.DB.XYZ

FindUpDirection() 공개 정적인 메소드

Find the up direction vector, which is the same meaning of UpDirection property in View class
public static FindUpDirection ( Autodesk viewDirection ) : Autodesk.Revit.DB.XYZ
viewDirection Autodesk the view direction vector
리턴 Autodesk.Revit.DB.XYZ

FindWallViewDirection() 공개 정적인 메소드

Find the view direction vector, which is the same meaning of ViewDirection property in View class
public static FindWallViewDirection ( CurveArray curveArray ) : Autodesk.Revit.DB.XYZ
curveArray CurveArray the curve array which form wall's AnalyticalModel
리턴 Autodesk.Revit.DB.XYZ