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

This class stand for user coordinate system
Exibir arquivo Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
GC2LC ( Line3D line ) : Line3D

Transform global coordinate to local coordinate

GC2LC ( Vector arg ) : Vector

Transform global coordinate to local coordinate

LC2GC ( Vector arg ) : Vector

Transform local coordinate to global coordinate

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

Method Details

GC2LC() public method

Transform global coordinate to local coordinate
public GC2LC ( Line3D line ) : Line3D
line Line3D a line which need to transform
return Line3D

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

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 select left handness or right handness
return System