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

ec1f1825 24a6 c279 0d4f e08335d97e76

haplokuon edited this page May 6, 2023 · 1 revision

Translation(Vector3) Method

netDxf 3.0.0 Library

Build a translation matrix.

Definition

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

C#

public static Matrix4 Translation(
	Vector3 vector
)

VB

Public Shared Function Translation ( 
	vector As Vector3
) As Matrix4

C++

public:
static Matrix4 Translation(
	Vector3 vector
)

F#

static member Translation : 
        vector : Vector3 -> Matrix4 

Parameters

  Vector3
Translation vector along the X, Y, and Z axis.

Return Value

Matrix4
A translation matrix.

Remarks

Matrix4 adopts the convention of using column vectors to represent a transformation matrix.

See Also

Reference

Matrix4 Structure
Translation Overload
netDxf Namespace

Clone this wiki locally