UNPKG

@three3d/tools

Version:

@three3d/tools 提供了 ThreeJS 常用的工具库

29 lines (17 loc) 592 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [getLengthsOfPoints](./tools.getlengthsofpoints.md) ## getLengthsOfPoints() function 获取每个点对应的长度 **Signature:** ```typescript export declare function getLengthsOfPoints(points: Vector3[]): { lengths: number[]; length: number; }; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | points | Vector3\[\] | | **Returns:** { lengths: number\[\]; length: number; }