Contents

init(origin:size:)

Creates a rectangle at the specified origin and the specified size from Spatial structures.

Declaration

init(origin: Point3D, size: Size3D)

Parameters

  • origin:

    A point structure that specifies the rectangle’s origin.

  • size:

    A size structure that specifies the rectangle’s size.

See Also

Creating a 3D rectangle structure