@three3d/tools
Version:
@three3d/tools 提供了 ThreeJS 常用的工具库
31 lines (19 loc) • 714 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@three3d/tools](./tools.md) > [getCurveDivisionLength](./tools.getcurvedivisionlength.md)
## getCurveDivisionLength() function
获取曲线的分段和长度
**Signature:**
```typescript
export declare function getCurveDivisionLength(options: SampleOptions & {
curve: Curve<Vector3>;
}): {
length: number;
division: number;
};
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| options | [SampleOptions](./tools.sampleoptions.md) & { curve: Curve<Vector3>; } | |
**Returns:**
{ length: number; division: number; }