首页 / base / oaInterpolateType

oaInterpolateType

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

概览

oaInterpolateTypeoapy 中可用,可通过 _base 模块访问。

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

详细说明

The oaInterpolateType class is an enum wrapper that describes how keys in a lookup table should be interpolated if they lie between a pair of the header values for that table。 See oa1DLookupTbl and oa2DLookupTbl for its usage。 See Enum Wrappers in the Programmers Guide for a discussion of enum wrappers。 enum oaInterpolateTypeEnum Enumeration values: oacSnapDownInterpolateType "SnapDown" Use the return value for the next lower header value oacSnapUpInterpolateType "SnapUp" Use the return value for the next higher header value oacLinearInterpolateType "Linear" Return a value that is between the return values for the next lower and the next higher header values in proportion to where the key is in that range。 oacInclusiveSnapDownInterpolateType "InclusiveSnapDown" Use the return value for the next lower header value, even if the requested value matches the higher header value。 oacInclusiveSnapUpInterpolateType "InclusiveSnapUp" Use the return value for the next higher header value, even if the requested value matches the lower header value。

构造函数

_base.oaInterpolateType(valueIn)

obj = _base.oaInterpolateType(valueIn)

_base.oaInterpolateType(nameIn)

obj = _base.oaInterpolateType(nameIn)

方法总览

状态 Python 调用
obj.getName()

方法说明

obj.getName()

绑定状态: 已绑定

Python 调用: obj.getName()

This function returns the name string associated with the encapsulated oaInterpolateTypeEnum object。

Python 示例

from oapy._oa import _base

# assume obj is a oaInterpolateType
obj.getName()