首页 / tech / oaAntennaAreaArray

oaAntennaAreaArray

模块: oapy._oa._tech 导入: from oapy._oa import _tech

概览

oaAntennaAreaArrayoapy 中可用,可通过 _tech 模块访问。

本页汇总 oaAntennaAreaArray 当前在 oapy 中可用的 Python 接口。

详细说明

The oaAntennaAreaArray class implements an array of oaAntennaArea values。 The allocated size of the oaAntennaAreaArray can be different from the number of values actually stored。 This is useful when the oaAntennaAreaArray is used repeatedly since it reduces the need to reallocate the array。

构造函数

_tech.oaAntennaAreaArray(sizeIn=0)

obj = _tech.oaAntennaAreaArray(sizeIn=0)

_tech.oaAntennaAreaArray(aIn)

obj = _tech.oaAntennaAreaArray(aIn)

方法总览

状态 Python 调用
obj.compress()
obj.sort()

方法说明

obj.compress()

绑定状态: 已绑定

Python 调用: obj.compress()

This function removes duplicate area values that have specified for the same layer in this antennaAreaArray。 The compression keeps the latest area value in the array for any given layer。 The size of the array is not changed。

Python 示例

from oapy._oa import _tech

# assume obj is a oaAntennaAreaArray
obj.compress()

obj.sort()

绑定状态: 已绑定

Python 调用: obj.sort()

This function sorts the data in this oaAntennaAreaArray object so the layer number values are ascending。 Any oaAntennaArea values with no layer number specified (such as those where the value is oacNullIndex) appear first in the array。

Python 示例

from oapy._oa import _tech

# assume obj is a oaAntennaAreaArray
obj.sort()