UNPKG

@three3d/tools

Version:

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

26 lines (17 loc) 1.18 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [ClosestDistanceInfoOfPointToLines](./tools.closestdistanceinfoofpointtolines.md) ## ClosestDistanceInfoOfPointToLines interface 点与一组线之间的最近信息 **Signature:** ```typescript export interface ClosestDistanceInfoOfPointToLines ``` ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [clampDist](./tools.closestdistanceinfoofpointtolines.clampdist.md) | | number | 最近的线段距离 | | [clampPoint](./tools.closestdistanceinfoofpointtolines.clamppoint.md) | | Vector3 | 距离最近的线段上的点 | | [clampT](./tools.closestdistanceinfoofpointtolines.clampt.md) | | number | 线段上最近的点在其所在线段上的 t 的值 | | [index](./tools.closestdistanceinfoofpointtolines.index.md) | | number | 最近线的索引 | | [line](./tools.closestdistanceinfoofpointtolines.line.md) | | Line3 | 最近的线 | | [t](./tools.closestdistanceinfoofpointtolines.t.md) | | number | 最近的点在其所在线上的 t 值 |