complexType · extension complexBaseType · all
Cuboid
The cuboid is defined in its own coordinate system, with the origin at a corner of its lower face. The lower face spans x = 0 to <lengthX> and y = 0 to <depthY> in the plane z = 0; the upper face lies in the plane z = <heightZ>.
Without the upperFace values, the upper face equals the lower face and the cuboid is a rectangular box. <upperFaceXmin>, <upperFaceXmax>, <upperFaceYmin> and <upperFaceYmax> give the upper face a different extent, e.g. for a tapered or sheared body. Where a minimum equals the corresponding maximum, the upper face degenerates into an edge and the body is a wedge.
Figure (a) shows a cuboid whose upper face is smaller than its lower face, figure (b) the same cuboid from above. The four upperFace values are coordinates in the coordinate system of the cuboid, measured from its origin like the lower face, not distances from the edges of the lower face.
The cuboid of the figure as an element of a library, with a density from which its mass follows:
<genericElement uID="element_taperedBox">
<name>Tapered box</name>
<geometry>
<cuboids>
<cuboid>
<lengthX>1.2</lengthX>
<depthY>0.8</depthY>
<heightZ>0.6</heightZ>
<upperFaceXmin>0.3</upperFaceXmin>
<upperFaceXmax>1</upperFaceXmax>
<upperFaceYmin>0.15</upperFaceYmin>
<upperFaceYmax>0.65</upperFaceYmax>
</cuboid>
</cuboids>
</geometry>
<mass>
<density>600</density>
</mass>
</genericElement> The battery of the fuel cell propulsion unit (see systemElementsType), a rectangular box that the transformation of its cuboid moves so that its center lies at the origin of the element:
<battery uID="battery">
<name>Battery, 30 kWh</name>
<geometry>
<cuboids>
<cuboid>
<lengthX>0.8</lengthX>
<depthY>0.45</depthY>
<heightZ>0.3</heightZ>
<transformation>
<translation>
<x>-0.4</x>
<y>-0.225</y>
<z>-0.15</z>
</translation>
</transformation>
</cuboid>
</cuboids>
</geometry>
<mass>
<mass>150</mass>
</mass>
</battery>| Name | Type | Constraints | Use | Default | Description |
|---|---|---|---|---|---|
@externalDataDirectory | xsd:string | optional | Directory of the external file the element was read from, as URI | ||
@externalDataNodePath | xsd:string | optional | Path of the parent element in the merged dataset, at which the element was inserted from an external file | ||
@externalFileName | xsd:string | optional | Name of the external file the element was read from |
| Name | Type | Constraints | OccurrenceHow often the element may appear at this place. The schema writes it as minOccurs and maxOccurs on the declaration. | Default | Description |
|---|---|---|---|---|---|
| allThe children below may appear in any order. Each may appear at most once. | |||||
lengthX | doubleBaseType | [1..1] required | Length in x-direction of the lower face [m] | ||
depthY | doubleBaseType | [1..1] required | Depth in y-direction of the lower face [m] | ||
heightZ | doubleBaseType | [1..1] required | Height in z-direction [m] | ||
upperFaceXmin | doubleBaseType | [0..1] optional | Minimum x-coordinate of the upper face (if not defined: equals 0) [m] | ||
upperFaceXmax | doubleBaseType | [0..1] optional | Maximum x-coordinate of the upper face (if not defined: equals lengthX) [m] | ||
upperFaceYmin | doubleBaseType | [0..1] optional | Minimum y-coordinate of the upper face (if not defined: equals 0) [m] | ||
upperFaceYmax | doubleBaseType | [0..1] optional | Maximum y-coordinate of the upper face (if not defined: equals depthY) [m] | ||
transformation | transformationSE3Type | [0..1] optional | Rotation and translation that place the primitive in the element coordinate system | ||
cpacs/vehicles/deckElements/ceilingPanelElements/ceilingPanelElement/geometry/cuboids/cuboidcpacs/vehicles/deckElements/classDividerElements/classDividerElement/geometry/cuboids/cuboidcpacs/vehicles/deckElements/galleyElements/galleyElement/geometry/cuboids/cuboidcpacs/vehicles/deckElements/genericFloorElements/genericFloorElement/geometry/cuboids/cuboidcpacs/vehicles/deckElements/lavatoryElements/lavatoryElement/geometry/cuboids/cuboidcpacs/vehicles/deckElements/luggageCompartmentElements/luggageCompartmentElement/geometry/cuboids/cuboidcpacs/vehicles/deckElements/seatElements/seatElement/geometry/cuboids/cuboidcpacs/vehicles/deckElements/sidewallPanelElements/sidewallPanelElement/geometry/cuboids/cuboidcpacs/vehicles/deckElements/cargoContainerElements/cargoContainerElement/geometry/cuboids/cuboidcpacs/vehicles/systemElements/genericElements/genericElement/geometry/cuboids/cuboidcpacs/vehicles/systemElements/electricalElements/genericElectricalElements/genericElectricalElement/geometry/cuboids/cuboidcpacs/vehicles/systemElements/electricalElements/storageElements/genericStorageElements/genericStorageElement/geometry/cuboids/cuboidcpacs/vehicles/systemElements/electricalElements/storageElements/batteries/battery/geometry/cuboids/cuboidcpacs/vehicles/systemElements/electricalElements/storageElements/capacitors/capacitor/geometry/cuboids/cuboidcpacs/vehicles/systemElements/electricalElements/storageElements/inductors/inductor/geometry/cuboids/cuboidcpacs/vehicles/systemElements/electricalElements/storageElements/superCapacitors/superCapacitor/geometry/cuboids/cuboidcpacs/vehicles/systemElements/electricalElements/conversionElements/genericConversionElements/genericConversionElement/geometry/cuboids/cuboidcpacs/vehicles/systemElements/electricalElements/conversionElements/generators/generator/geometry/cuboids/cuboidcpacs/vehicles/systemElements/electricalElements/conversionElements/acGenerators/acGenerator/geometry/cuboids/cuboidcpacs/vehicles/systemElements/electricalElements/conversionElements/dcGenerators/dcGenerator/geometry/cuboids/cuboidcpacs/vehicles/systemElements/electricalElements/conversionElements/fuelCellStacks/fuelCellStack/geometry/cuboids/cuboidcpacs/vehicles/systemElements/electricalElements/conversionElements/converters/converter/geometry/cuboids/cuboidcpacs/vehicles/systemElements/electricalElements/conversionElements/acdcConverters/acdcConverter/geometry/cuboids/cuboidcpacs/vehicles/systemElements/electricalElements/conversionElements/dcacConverters/dcacConverter/geometry/cuboids/cuboidcpacs/vehicles/systemElements/electricalElements/conversionElements/dcdcConverters/dcdcConverter/geometry/cuboids/cuboid| Type | Name |
|---|---|
cuboidsType | cuboid |