 | 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
Syntaxpublic static UCS FromNormal(
string name,
Vector3 origin,
Vector3 normal,
double rotation
)
Request Example
View SourceParameters
- 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:
UCSA new user coordinate system.
RemarksThis method uses the ArbitraryAxis algorithm to obtain the user coordinate system x-axis and y-axis.
See Also