createDgnBox MethodStatic

Create a new box from vector and size daa.

createDgnBox(origin: Point3d, vectorX: Vector3d, vectorY: Vector3d, topOrigin: Point3d, baseX: number, baseY: number, topX: number, topY: number, capped: boolean): undefined | Box

Parameter Type Description
origin Point3d Origin of base rectangle
vectorX Vector3d Direction for base rectangle
vectorY Vector3d Direction for base rectangle
topOrigin Point3d origin of top rectangle
baseX number size factor for base rectangle (multiplies vectorX)
baseY number size factor for base rectangle (multiplies vectorY)
topX number size factor for top rectangle (multiplies vectorX)
topY number size factor for top rectangle (multiplies vectorY)
capped boolean true to define top and bottom closure caps

Returns - undefined | Box

Defined in

Last Updated: 17 December, 2024