Appearance
Interface: Measurement
Defined in: packages/viewer-core/src/public/types.ts:1172
运行时测量记录(list() 返回;rows / label 为重算所得,不落盘)。
Extends
Properties
id
id:
string
Defined in: packages/viewer-core/src/public/types.ts:1158
Inherited from
kind
kind:
MeasureKind
Defined in: packages/viewer-core/src/public/types.ts:1159
Inherited from
label
readonlylabel:string
Defined in: packages/viewer-core/src/public/types.ts:1174
卡头写明判定后的量名(「轴线中心距」而非笼统的「距离」)。
labelPos?
optionallabelPos?:object
Defined in: packages/viewer-core/src/public/types.ts:1168
x
x:
number
y
y:
number
Inherited from
rows
readonlyrows: readonlyMeasureRow[]
Defined in: packages/viewer-core/src/public/types.ts:1175
stale
readonlystale:boolean
Defined in: packages/viewer-core/src/public/types.ts:1177
true = 重放时重算与历史值不一致,或几何未加载。不静默改写用户看过的数。
suspect
readonlysuspect:boolean
Defined in: packages/viewer-core/src/public/types.ts:1179
true = 任一 target 的解析参数带导出期可疑位。出值,但卡片带警告角标(spec §7)。
targets
targets:
object[]
Defined in: packages/viewer-core/src/public/types.ts:1160
entity
entity:
MeasureEntity
entityId?
optionalentityId?:number
localPoint
localPoint:
Vec3
nodeId
nodeId:
number
Inherited from
value
value:
number|null
Defined in: packages/viewer-core/src/public/types.ts:1167
coordinate 为 null,坐标取 targets[0].localPoint。