对路由对象的 INTERVAL 位置处的 M 值进行插值。关于位置的定义请参见 WhereToCalibrate 枚举。

命名空间:  SuperMap.Data
程序集:  SuperMap.Data (in SuperMap.Data)
版本: dll

语法

C#
public bool InterpolateM(
	Point2D fromPoint,
	Point2D toPoint,
	double fromMeasure,
	double toMeasure,
	double tolerance,
	CalibrateMode method
)

参数

fromPoint
Type: SuperMap.Data..::.Point2D
待插值线路的起始点。
toPoint
Type: SuperMap.Data..::.Point2D
待插值线路的终止点。
fromMeasure
Type: System..::.Double
待插值线路的起始点 M 值。
toMeasure
Type: System..::.Double
待插值线路的终止点 M 值。
tolerance
Type: System..::.Double
容限值。用于判断指定的起始点和终止点是否均在路由对象上,若两点到路由对象垂足的距离有其一大于该值,则视为指定的点无效,不执行插值。单位与该路由对象所属数据集的单位相同。
method
Type: SuperMap.Data..::.CalibrateMode
对路由对象 M 值进行校正的方式。

返回值

一个布尔值,表示插值是否成功,true 表示成功,false 表示失败。

版本信息

SuperMap iObjects .NET


在 11.0.0 中过时(编译器警告)

SuperMap Objects .NET

受以下版本支持: 6.1.3

请参见