IModelJson.BoxProps Interface
Interface for Box (or frustum with all rectangular sections parallel to primary xy section).
- Orientation may be given in any
AxesPropsway (yawPitchRollAngles,xyVectors,zxVectors). - If
topXortopYare omitted, each defaults to itsbaseXorbaseYpeer. - If
topOriginis given,heightis unused. - If
topOriginis omitted andheightis given,topOriginis computed along the z axis at distanceheight. - If both
topOriginandheightare omitted,heightdefaults tobaseX, andtopOriginis computed as above.
Extends
Properties
| Name | Type | Description | |
|---|---|---|---|
| baseX | number | base x size (required) | |
| baseY | number | undefined | base y size. | |
| capped | boolean | undefined | optional capping flag. | |
| height | number | undefined | optional height. | |
| origin | XYZProps | Origin of the box coordinate system (required) | |
| topOrigin | XYZProps | undefined | top origin. | |
| topX | number | undefined | x size on top section. | |
| topY | number | undefined | y size on top section. |
Inherited properties
| Name | Type | Inherited from | Description |
|---|---|---|---|
| xyVectors Inherited | [XYZProps, XYZProps] | undefined | IModelJson.AxesProps | A rotation specified by an array of two vectors [xAxis, yAxis]. |
| xyzVectors Inherited | [XYZProps, XYZProps, XYZProps] | undefined | IModelJson.AxesProps | A local coordinate system specified by an array of three vectors [xAxis, yAxis, zAxis]. |
| yawPitchRollAngles Inherited | YawPitchRollProps | undefined | IModelJson.AxesProps | A rotation specified by yaw, pitch, roll angles. |
| zxVectors Inherited | [XYZProps, XYZProps] | undefined | IModelJson.AxesProps | A rotation specified by an array of two vectors [zAxis, xAxis]. |
Defined in
- serialization/IModelJsonSchema.ts Line 406
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.