createDgnBox MethodStatic

Create a new box from vector and size daa.

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

Parameter Type Description
baseOrigin 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 - Box | undefined

Defined in

Last Updated: 13 June, 2024