rectangleXY Method

Return a rectangle that is the cross section as viewed from above (z direction) and at zFraction

rectangleXY(zFraction: number = 0.0, upwardNormal: boolean = true, addClosure: boolean = true): Point3d[] | undefined

@returns rectangle points

Parameter Type Description
zFraction number plane altitude within the 0..1 z fraction range
upwardNormal boolean true for CCW as viewed from above
addClosure boolean true to add closure edge back to the start

Returns - Point3d[] | undefined

rectangle points

Defined in

Last Updated: 28 April, 2026