MathHelperArbitraryAxis Method
|
Gets the rotation matrix from the normal vector (extrusion direction) of an entity.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static Matrix ArbitraryAxis(
Vector3 zAxis
)
Public Shared Function ArbitraryAxis (
zAxis As Vector3
) As Matrix
public:
static Matrix ArbitraryAxis(
Vector3 zAxis
)
static member ArbitraryAxis :
zAxis : Vector3 -> Matrix
STATIC METHOD ArbitraryAxis(
zAxis AS Vector3
) AS Matrix
Parameters
- zAxis
- Type: DXFReaderNETVector3
Normal vector.
Return Value
Type:
MatrixRotation matrix.
See Also