C# Class Revit.SDK.Samples.ObjectViewer.CS.UCS

This class stand for user coordinate system
ファイルを表示 Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
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

Method Details

GC2LC() public method

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

LC2GC() public method

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

UCS() public method

constructor
public UCS ( ) : System
return System

UCS() public method

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

UCS() public method

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
return System

operator() public static method

add 2 UCS
public static operator ( ) : UCS
return UCS

this() public method

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