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

29f659b2 6541 073d 409b 283dbaf981a3

haplokuon edited this page May 6, 2023 · 1 revision

Translation(Double, Double, Double) 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(
	double x,
	double y,
	double z
)

VB

Public Shared Function Translation ( 
	x As Double,
	y As Double,
	z As Double
) As Matrix4

C++

public:
static Matrix4 Translation(
	double x, 
	double y, 
	double z
)

F#

static member Translation : 
        x : float * 
        y : float * 
        z : float -> Matrix4 

Parameters

  Double
Translation along the X axis.
  Double
Translation along the Y axis.
  Double
Translation along the 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