C# 클래스 Revit.SDK.Samples.ObjectViewer.CS.UCS

This class stand for user coordinate system
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
GC2LC ( Vector arg ) : Vector

Transform global coordinate to local coordinate

LC2GC ( Vector arg ) : Vector

Transform local coordinate to global coordinate

UCS ( ) : System

constructor

UCS ( Vector origin, Vector xAxis, Vector yAxis ) : System

The default constructor,

UCS ( Vector origin, Vector xAxis, Vector yAxis, bool flag ) : System

constructor, get a user coordinate system

operator ( ) : UCS

add 2 UCS

this ( int index ) : Vector

Property to get Axis(x,y,z) of User coordinate system

메소드 상세

GC2LC() 공개 메소드

Transform global coordinate to local coordinate
public GC2LC ( Vector arg ) : Vector
arg Vector a vector which need to transform
리턴 Vector

LC2GC() 공개 메소드

Transform local coordinate to global coordinate
public LC2GC ( Vector arg ) : Vector
arg Vector a vector which need to transform
리턴 Vector

UCS() 공개 메소드

constructor
public UCS ( ) : System
리턴 System

UCS() 공개 메소드

The default constructor,
public UCS ( Vector origin, Vector xAxis, Vector yAxis ) : System
origin Vector
xAxis Vector
yAxis Vector
리턴 System

UCS() 공개 메소드

constructor, get a user coordinate system
public UCS ( Vector origin, Vector xAxis, Vector yAxis, bool flag ) : System
origin Vector origin of user coordinate system
xAxis Vector xAxis of user coordinate system
yAxis Vector yAxis of user coordinate system
flag bool
리턴 System

operator() 공개 정적인 메소드

add 2 UCS
public static operator ( ) : UCS
리턴 UCS

this() 공개 메소드

Property to get Axis(x,y,z) of User coordinate system
public this ( int index ) : Vector
index int indicate which Axis want be gotten
리턴 Vector