UNPKG

@three3d/tools

Version:

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

27 lines (15 loc) 727 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [getClosestDistanceInfoOfPointToLines](./tools.getclosestdistanceinfoofpointtolines.md) ## getClosestDistanceInfoOfPointToLines() function 获取最近的点相关的信息 **Signature:** ```typescript export declare function getClosestDistanceInfoOfPointToLines(point: Vector3, lines: Line3[]): ClosestDistanceInfoOfPointToLines; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | point | Vector3 | | | lines | Line3\[\] | | **Returns:** [ClosestDistanceInfoOfPointToLines](./tools.closestdistanceinfoofpointtolines.md)