UNPKG

@three3d/tools

Version:

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

34 lines (22 loc) 1.08 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [createBevelLineConnection](./tools.createbevellineconnection.md) ## createBevelLineConnection() function 创建斜角的线连接数据 **Signature:** ```typescript export declare function createBevelLineConnection(cornerPointInfo: VertexInfo, frontFrame: FrenetFrame, backFrame: FrenetFrame, chamfer?: boolean, zeroThreshold?: number): { points: Vector3[]; normals: Vector3[]; lengths: number[]; }; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | cornerPointInfo | [VertexInfo](./tools.vertexinfo.md) | | | frontFrame | [FrenetFrame](./tools.frenetframe.md) | | | backFrame | [FrenetFrame](./tools.frenetframe.md) | | | chamfer | boolean | _(Optional)_ 是否斜切 | | zeroThreshold | number | _(Optional)_ 零的阀值;绝对值小于该值的都认为是零 | **Returns:** { points: Vector3\[\]; normals: Vector3\[\]; lengths: number\[\]; }