Click or drag to resize

UCSFromNormal Method

Creates a new user coordinate system from the XY plane normal (z-axis).

Namespace:  DXFReaderNET.Tables
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.52
Syntax
public static UCS FromNormal(
	string name,
	Vector3 origin,
	Vector3 normal,
	double rotation
)

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: UCS
A new user coordinate system.
Remarks
This method uses the ArbitraryAxis algorithm to obtain the user coordinate system x-axis and y-axis.
See Also