UNPKG

@cearth/tools

Version:
83 lines (38 loc) 857 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@cearth/tools](./tools.md) &gt; [scalePoints](./tools.scalepoints.md) ## scalePoints() function 缩放一组点 **Signature:** ```typescript export declare function scalePoints(points: Cartesian3[], scale: Cartesian3, origin?: Cartesian3 | null): Cartesian3[]; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> points </td><td> Cartesian3\[\] </td><td> </td></tr> <tr><td> scale </td><td> Cartesian3 </td><td> </td></tr> <tr><td> origin </td><td> Cartesian3 \| null </td><td> _(Optional)_ 原点 </td></tr> </tbody></table> **Returns:** Cartesian3\[\]