Creates a new user coordinate system from the XY plane normal (z-axis).
Namespace:
DXFReaderNET.Tables
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static UCS FromNormal(
string name,
Vector3 origin,
Vector3 normal,
double rotation
)
Public Shared Function FromNormal (
name As String,
origin As Vector3,
normal As Vector3,
rotation As Double
) As UCS
public:
static UCS^ FromNormal(
String^ name,
Vector3 origin,
Vector3 normal,
double rotation
)
static member FromNormal :
name : string *
origin : Vector3 *
normal : Vector3 *
rotation : float -> UCS
STATIC METHOD FromNormal(
name AS STRING,
origin AS Vector3,
normal AS Vector3,
rotation AS REAL8
) AS UCS
Parameters
- name
- Type: SystemString
User coordinate system name. - origin
- Type: DXFReaderNETVector3
Origin in WCS. - normal
- Type: DXFReaderNETVector3
XY plane normal (z-axis). - rotation
- Type: SystemDouble
The counter-clockwise angle in radians along the normal (z-axis).
Return Value
Type:
UCSA new user coordinate system.
Remarks This method uses the ArbitraryAxis algorithm to obtain the user coordinate system x-axis and y-axis.
See Also