UNPKG

@cearth/tools

Version:
88 lines (41 loc) 921 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@cearth/tools](./tools.md) &gt; [computeNormalOfCoplanars](./tools.computenormalofcoplanars.md) ## computeNormalOfCoplanars() function 计算三个点所在的平面的法向量 **Signature:** ```typescript export declare function computeNormalOfCoplanars(origin: Cartesian3, point1: Cartesian3, point2: Cartesian3): Cartesian3; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> origin </td><td> Cartesian3 </td><td> 原点 </td></tr> <tr><td> point1 </td><td> Cartesian3 </td><td> 点1 </td></tr> <tr><td> point2 </td><td> Cartesian3 </td><td> 点2 </td></tr> </tbody></table> **Returns:** Cartesian3 法线