Click or drag to resize

UCSFromNormal Method

imbVeles Framework: imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Creates a new user coordinate system from the XY plane normal (z-axis).

Namespace:  netDxf.Tables
Assembly:  netDXF.Standard (in netDXF.Standard.dll) Version: 2.1.1
Syntax
C#
public static UCS FromNormal(
	string name,
	Vector3 origin,
	Vector3 normal,
	double rotation
)
Request Example View Source

Parameters

name
Type: SystemString
User coordinate system name.
origin
Type: netDxfVector3
Origin in WCS.
normal
Type: netDxfVector3
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