Skip to content

KBE3D / KBCore / Cesium / LinearApproximation / getRequiredDataPoints

函数: getRequiredDataPoints()

getRequiredDataPoints(degree: number): number

Given the desired degree, returns the number of data points required for interpolation. Since linear interpolation can only generate a first degree polynomial, this function always returns 2.

参数

degree

number

The desired degree of interpolation.

返回

number

This function always returns 2.

KBE3D @3.0.0 Copyright © 2024-present KBE3D