Home > PCB_MathPolygon > calculateHeight
PCB_MathPolygon.calculateHeight() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
计算复杂多边形 BBox 高度
Signature
typescript
calculateHeight(complexPolygon: TPCB_PolygonSourceArray | Array<TPCB_PolygonSourceArray> | IPCB_Polygon | IPCB_ComplexPolygon): number;1
Parameters
Parameter | Type | Description |
|---|---|---|
complexPolygon | TPCB_PolygonSourceArray | Array<TPCB_PolygonSourceArray> | IPCB_Polygon | IPCB_ComplexPolygon | 复杂多边形 |
Returns
number
BBox 高度