Method

GimpMatrix4transform_point

since: 2.10.16

Declaration [src]

gdouble
gimp_matrix4_transform_point (
  const GimpMatrix4* matrix,
  gdouble x,
  gdouble y,
  gdouble z,
  gdouble* newx,
  gdouble* newy,
  gdouble* newz
)

Description [src]

Transforms a point in 3D as specified by the transformation matrix.

Available since: 2.10.16

Parameters

x

Type: gdouble

The source X coordinate.

y

Type: gdouble

The source Y coordinate.

z

Type: gdouble

The source Z coordinate.

newx

Type: gdouble*

The transformed X coordinate.

The argument will be set by the function.
newy

Type: gdouble*

The transformed Y coordinate.

The argument will be set by the function.
newz

Type: gdouble*

The transformed Z coordinate.

The argument will be set by the function.

Return value

Type: gdouble

The transformed W coordinate.