Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

04a460c5 7e8c 5f6a bb2b 6e00a1727b94

haplokuon edited this page May 6, 2023 · 1 revision

FromNormal(String, Vector3, Vector3) Method

netDxf 3.0.0 Library

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

Definition

Namespace: netDxf.Tables
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static UCS FromNormal(
	string name,
	Vector3 origin,
	Vector3 normal
)

VB

Public Shared Function FromNormal ( 
	name As String,
	origin As Vector3,
	normal As Vector3
) As UCS

C++

public:
static UCS^ FromNormal(
	String^ name, 
	Vector3 origin, 
	Vector3 normal
)

F#

static member FromNormal : 
        name : string * 
        origin : Vector3 * 
        normal : Vector3 -> UCS 

Parameters

  String
User coordinate system name.
  Vector3
Origin in WCS.
  Vector3
XY plane normal (z-axis).

Return Value

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

Reference

UCS Class
FromNormal Overload
netDxf.Tables Namespace

Clone this wiki locally