RoundNRectangle

public struct RoundNRectangle<Vector> : GeometricType where Vector : VectorType
extension RoundNRectangle: Equatable where Vector: Equatable, Scalar: Equatable
extension RoundNRectangle: Hashable where Vector: Hashable, Scalar: Hashable
extension RoundNRectangle: Encodable where Vector: Encodable, Scalar: Encodable
extension RoundNRectangle: Decodable where Vector: Decodable, Scalar: 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 }