Contents

init(x:y:z:)

Creates a point from the specified floating-point values.

Declaration

init<T>(x: T, y: T, z: T) where T : BinaryFloatingPoint

Parameters

  • x:

    A floating-point value that specifies the x-coordinate value.

  • y:

    A floating-point value that specifies the y-coordinate value.

  • z:

    A floating-point value that specifies the z-coordinate value.

See Also

Creating a 3D point structure