RoundNRectangle

public struct RoundNRectangle<Vector> : GeometricType where Vector : VectorType
extension RoundNRectangle: Sendable where Vector: Sendable
extension RoundNRectangle: Equatable where Vector: Equatable
extension RoundNRectangle: Hashable where Vector: Hashable
extension RoundNRectangle: Encodable where Vector: Encodable
extension RoundNRectangle: Decodable where Vector: Decodable
extension RoundNRectangle: BoundableType where Vector: VectorAdditive

Represents an N-dimensional rounded rectangle with a rectangle and radius for each axis.

Available where Vector: VectorAdditive

  • Returns the minimal AABB capable of containing this round rectangle’s bounds.

    Declaration

    Swift

    public var bounds: AABB<Vector> { get }