-
Notifications
You must be signed in to change notification settings - Fork 5
cuboid
arnholm edited this page May 1, 2017
·
1 revision
A cuboid is defineded by its extents in x, y and z. It extends from the origin in x,y and z directons, unless the “center” option is specified, in which case the geometric centre of the coboid will coincide with the origin.
Parameter name | Description | Status |
---|---|---|
dx | Extent in x | required |
dy | Extent in y | required |
dz | Extent in z | required |
center | center on origin (true/false) | optional (default=false) |
Complete cuboid example
<?xml version="1.0" encoding="utf-8"?>
<xcsg version="1.0">
<cuboid dx="10" dy="20" dz="30" center="false"/>
</xcsg>
Same example with center"true"
<?xml version="1.0" encoding="utf-8"?>
<xcsg version="1.0">
<cuboid dx="10" dy="20" dz="30" center="true"/>
</xcsg>