This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 411
f757bb6a 3d00 8b72 4685 e6aa5751f93a
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Creates a new user coordinate system from the XY plane normal (z-axis).
Namespace: netDxf.Tables
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public static UCS FromNormal(
string name,
Vector3 origin,
Vector3 normal,
double rotation
)
VB
Public Shared Function FromNormal (
name As String,
origin As Vector3,
normal As Vector3,
rotation As Double
) As UCS
C++
public:
static UCS^ FromNormal(
String^ name,
Vector3 origin,
Vector3 normal,
double rotation
)
F#
static member FromNormal :
name : string *
origin : Vector3 *
normal : Vector3 *
rotation : float -> UCS
- String
- User coordinate system name.
- Vector3
- Origin in WCS.
- Vector3
- XY plane normal (z-axis).
- Double
- The counter-clockwise angle in radians along the normal (z-axis).
UCS
A new user coordinate system.
This method uses the ArbitraryAxis algorithm to obtain the user coordinate system x-axis and y-axis.