上下文 Context · 1 个函数
为规则结果打上上下文标签
为规则结果打上上下文标签
签名(1 种重载)
label (label)
参数说明
| 参数 | 类型 | 说明 |
|---|---|---|
| label | string | A non-empty label. |
官方说明(英文原文)
The label operation creates a labeled shape. This shape can be referenced to in various labeled context related queries, for example occlusion queries on selected occluder shapes.
我方已验证示例:learning case #78(verified_silver)· 点击展开代码 · 示例过大,请复制源码到 demo 运行
/** * File: Fence_On_Graph.cga * Created: 18 Nov 2015 17:11:40 GMT * Author: Esri R&D Center Zurich */ /* Input shape: street shape (shape with UVs), street width >= base_depth Fences are created along the u direction of the street shape. Notes on Occlusion: * Occlusion Labels: The fence parts (post, middle, base post, base middle, upper post, upper middle) are each labeled with the given occlusionLabel. These labeled parts are meant to be occluders which can be found when te…