首页 / base / oaExtrapolateType

oaExtrapolateType

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

概览

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

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

详细说明

The oaExtrapolateType class is an enum wrapper that describes how keys in a lookup table should be extrapolated if they lie outside of the range of 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 oaExtrapolateTypeEnum Enumeration values: oacSnapDownExtrapolateType "SnapDown" If the key is greater than the highest header value, then use the table entry for the highest header value。 oacSnapUpExtrapolateType "SnapUp" If the key is smaller than the lowest header value, then use the table entry for the lowest header value。 oacLinearExtrapolateType "Linear" Extrapolate from the two points at the end (either lower or upper) to the key value。

构造函数

_base.oaExtrapolateType(valueIn)

obj = _base.oaExtrapolateType(valueIn)

_base.oaExtrapolateType(nameIn)

obj = _base.oaExtrapolateType(nameIn)

方法总览

状态 Python 调用
obj.getName()

方法说明

obj.getName()

绑定状态: 已绑定

Python 调用: obj.getName()

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

Python 示例

from oapy._oa import _base

# assume obj is a oaExtrapolateType
obj.getName()