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

d15e3ea8 8a4d d7a1 667c 2114c731c688

haplokuon edited this page May 6, 2023 · 1 revision

ArbitraryAxis Method

netDxf 3.0.0 Library

Gets the rotation matrix from the normal vector (extrusion direction) of an entity.

Definition

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

C#

public static Matrix3 ArbitraryAxis(
	Vector3 zAxis
)

VB

Public Shared Function ArbitraryAxis ( 
	zAxis As Vector3
) As Matrix3

C++

public:
static Matrix3 ArbitraryAxis(
	Vector3 zAxis
)

F#

static member ArbitraryAxis : 
        zAxis : Vector3 -> Matrix3 

Parameters

  Vector3
Normal vector.

Return Value

Matrix3
Rotation matrix.

See Also

Reference

MathHelper Class
netDxf Namespace

Clone this wiki locally