跳到主要内容

IDP.Math.KGeomLib.createBoundingBox2d() method

创建一个KBoundingBox2d对象。

Creates an instance of KBoundingBox2d.

Signature:

createBoundingBox2d(minPoint: KPoint2d, maxPoint: KPoint2d): KBoundingBox2d;

Links: createBoundingBox2d(minPoint: KPoint2d, maxPoint: KPoint2d): KBoundingBox2d;

Parameters

Parameter

Type

Description

minPoint

KPoint2d

二维包围盒的左下角点。

The minimum point of the bounding box.

maxPoint

KPoint2d

二维包围盒的右上顶点。

The maximum point of the bounding box.

Returns:

KBoundingBox2d

包围盒。

The bounding box.