Function interpolatePointsByRatio
- interpolatePointsByRatio(points, ratio, options?): [number, number, number][]
Parameters
points: [number, number, number][]
ratio: number
Optional
options: {
curRetIndex?: number;
distance?: number;
nextPoint?: [number, number, number];
remainingPoints?: [number, number, number][];
segmentDist?: number[];
}
Optional
curRetIndex?: number
Optional
distance?: number
Optional
nextPoint?: [number, number, number]
Optional
remainingPoints?: [number, number, number][]
Optional
segmentDist?: number[]
Returns [number, number, number][]
通过比例(0-1)的值,得到坐标序列的点坐标的值