KBoundingBox2d.merge() method
合并另外一个包围盒,使得当前包围盒可以包围传入包围盒。
Merge another bounding box, thus this bounding box is able to contain the another box.
Signature:
merge(box: KBoundingBox2d): void;
Links: merge(box: KBoundingBox2d): void;
Parameters
Parameter | Type | Description |
---|---|---|
box | 要合并的包围盒。 The merged bounding box. |
Returns:
void