跳到主要内容

Function: rect()

rect(xmin, ymin, xmax, ymax): Rect

Defined in: geometry/types.ts:82

由四边构造矩形(重算派生字段);非有限坐标直接抛错——NaN/Infinity 一旦入库 会被派生字段、邻接判定与快照链路静默放大,故在几何层入口统一拒绝。

Parameters

xmin

number

ymin

number

xmax

number

ymax

number

Returns

Rect