init(center:size:)
Creates a rectangle with the specified center and the specified size from Spatial structures.
Declaration
init(center: Point3D, size: Size3D)Parameters
- center:
A point structure that specifies the rectangle’s center.
- size:
A size structure that specifies the rectangle’s size.