UNPKG

@three3d/tools

Version:

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

27 lines (15 loc) 681 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [getDistanceInfoOfPointToLines](./tools.getdistanceinfoofpointtolines.md) ## getDistanceInfoOfPointToLines() function 获取点到所有线的距离信息 **Signature:** ```typescript export declare function getDistanceInfoOfPointToLines(point: Vector3, lines: Line3[]): DistanceInfoOfPointToLines; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | point | Vector3 | | | lines | Line3\[\] | | **Returns:** [DistanceInfoOfPointToLines](./tools.distanceinfoofpointtolines.md)