Skip to main content
←API Reference ←NSDK

AssetArea


Declaration​

struct AssetArea

Summary​

One independently-localizable piece of an asset. A scan too large for a single mapping run is split, and each piece gets its own job, anchor, node graph and extent. An asset mapped in one pass has exactly one area. One shape serves every asset type. AssetInfo/assetType selects which properties carry anything:

  • mesh: rootNodeId, nodeIds, meshCoverage
  • splat: rootNodeId
  • VPS: anchorPayload, and bounds

Constructors​

init(fromC cValue: ARDK_SitesManager_AssetArea)

Parameters​

NameTypeSummary
cValueARDK_SitesManager_AssetArea
-

Properties​

NameTypeSummary
let anchorPayloadString
This area's anchor payload, base64-encoded ManagedPoseData.
Note: A legacy map identifier. An anchor payload is no longer the preferred method to identify the map to localize against: pass a site ID to NSDKVps2Session.localize(siteId:) or a coordinate to localize(latitude:longitude:radiusMeters:).
let areaIdString
This area's own identifier, unique within the asset.
let boundsGeoBounds?
This area's geographic extent, or nil when the portal published none, or one describing
no usable area.
var debugDescriptionString
A textual representation of this instance, suitable for debugging.
Calling this property directly is discouraged. Instead, convert an
instance of any type to a string by using the String(reflecting:)
initializer. This initializer works with any type, and uses the custom
debugDescription property for types that conform to
CustomDebugStringConvertible:
struct Point: CustomDebugStringConvertible {
let x: Int, y: Int
var debugDescription: String {
return "(\(x), \(y))"
}
}
let p = Point(x: 21, y: 30)
let s = String(reflecting: p)
print(s)
// Prints "(21, 30)"
The conversion of p to a string in the assignment to s uses the
Point type's debugDescription property.
let jobStatusAssetPipelineJobStatus
Status of this area's own mapping job.
A job belongs to an area, so this is the only status the portal reports;
AssetInfo/pipelineJobStatus is deprecated and left unset.
let meshCoverageDouble
This area's mesh coverage in square meters.
let nodeIds [String]
All node IDs from this area's space.
let rootNodeIdString
Root node ID of this area's space.
let spaceIdString
The space this area was mapped into.

Nested Types​

Structs​

NameTypeSummary
GeoBoundsGeoBounds
A geographic bounding box.

Relationships​

conforms to: Swift.CustomDebugStringConvertible
conforms to: Swift.Sendable
conforms to: Swift.SendableMetatype