Contents

init(x:y:z:)

Creates a point from the specified double-precision values.

Declaration

init(x: Double = 0, y: Double = 0, z: Double = 0)

Parameters

  • x:

    A double-precision value that specifies the x-coordinate value.

  • y:

    A double-precision value that specifies the y-coordinate value.

  • z:

    A double-precision value that specifies the z-coordinate value.

See Also

Creating a 3D point structure