SwiftstructRoomPlan

struct RoomPlan.CapturedRoom.Object

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 11

  1. fieldvar attributes: [RoomPlan.CapturedRoomAttribute]
  2. fieldvar category: RoomPlan.CapturedRoom.Object.Category+0x0
  3. fieldvar color: SIMD3<Float>
  4. fieldvar completedCorners: RoomPlan.CapturedRoom.Object.CornerCompletion
  5. fieldvar confidence: RoomPlan.CapturedRoom.Confidence+0x1
  6. fieldvar dimensions: SIMD3<Float>
  7. fieldvar identifier: Foundation.UUID
  8. fieldvar parentIdentifier: Foundation.UUID?
  9. fieldvar story: Int
  10. fieldvar transform: simd_float4x4
  11. funcattribute<A where A: RoomPlan.CapturedRoomAttribute>(of: A.Type) -> A?
struct RoomPlan.CapturedRoom.Object {
    enum Category {
        enum CodingKeys {
            case storage
            case refrigerator
            case stove
            case bed
            case sink
            case washerDryer
            case toilet
            case bathtub
            case oven
            case dishwasher
            case table
            case sofa
            case chair
            case fireplace
            case television
            case stairs
        }
        enum StorageCodingKeys {}
        enum RefrigeratorCodingKeys {}
        enum StoveCodingKeys {}
        enum BedCodingKeys {}
        enum SinkCodingKeys {}
        enum WasherDryerCodingKeys {}
        enum ToiletCodingKeys {}
        enum BathtubCodingKeys {}
        enum OvenCodingKeys {}
        enum DishwasherCodingKeys {}
        enum TableCodingKeys {}
        enum SofaCodingKeys {}
        enum ChairCodingKeys {}
        enum FireplaceCodingKeys {}
        enum TelevisionCodingKeys {}
        enum StairsCodingKeys {}
        case storage
        case refrigerator
        case stove
        case bed
        case sink
        case washerDryer
        case toilet
        case bathtub
        case oven
        case dishwasher
        case table
        case sofa
        case chair
        case fireplace
        case television
        case stairs

        var supportedAttributeTypes: [any RoomPlan.CapturedRoomAttribute.Type] {
            get
        }
        var supportedCombinations: [[any RoomPlan.CapturedRoomAttribute]] {
            get
        }

        func supportsCombination(_: [any RoomPlan.CapturedRoomAttribute]) -> Swift.Bool
    }
    struct CornerCompletion {
        let rawValue: Swift.Int32
    }
    enum CodingKeys {
        case category
        case confidence
        case dimensions
        case transform
        case identifier
        case parentIdentifier
        case attributes
        case story
    }
    // Local type in a function or closure the binary does not name
    enum Rotation {
        case r0
        case r90
        case r180
        case r270
    }
    var category: RoomPlan.CapturedRoom.Object.Category
    var confidence: RoomPlan.CapturedRoom.Confidence
    var dimensions: Swift.SIMD3<Swift.Float>
    var transform: __C.simd_float4x4
    var identifier: Foundation.UUID
    var attributes: [any RoomPlan.CapturedRoomAttribute]
    var story: Swift.Int
    var parentIdentifier: Foundation.UUID?
    var completedCorners: RoomPlan.CapturedRoom.Object.CornerCompletion
    var color: Swift.SIMD3<Swift.Float>

    func attribute<A>(of: A.Type) -> A? where A: RoomPlan.CapturedRoomAttribute
}