complexType · extension vehicleElementBaseType · sequence
Seat element
A seat of the library: a single seat or a row of seats installed as one piece, such as a double or a triple seat. <numberOfSeats> says how many passengers it seats; geometry and mass are those of the whole module.
Example
The double seat of the example: its envelope is a box 0.72 m long, 1.02 m wide and 1.12 m high, translated by half its width in y so that the origin of the element lies at the centre of its front lower edge. Since the geometry is an envelope, the mass is given directly:
<seatElements>
<seatElement uID="doubleSeat">
<name>Double seat</name>
<geometry representation="envelope">
<cuboids>
<cuboid>
<lengthX>0.72</lengthX>
<depthY>1.02</depthY>
<heightZ>1.12</heightZ>
<transformation>
<translation>
<y>-0.51</y>
</translation>
</transformation>
</cuboid>
</cuboids>
</geometry>
<mass>
<mass>22</mass>
<location>
<x>0.36</x>
<y>0</y>
<z>0.42</z>
</location>
</mass>
<numberOfSeats>2</numberOfSeats>
</seatElement>
</seatElements>| 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 | ||
@uID | xsd:ID | required | UID |
| 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 |
|---|---|---|---|---|---|
| sequenceThe children below must appear in exactly this order. Each may repeat as often as its own occurrence allows. | |||||
name | stringBaseType | [1..1] required | Name | ||
description | stringBaseType | [0..1] optional | Description | ||
geometry | elementGeometryType | [1..1] required | Geometry in the element coordinate system | ||
mass | elementMassType | [0..1] optional | Mass properties in the element coordinate system | ||
| sequenceThe children below must appear in exactly this order. Each may repeat as often as its own occurrence allows. | |||||
numberOfSeats | posExcl0IntBaseType | minExclusive | [0..1] optional | Number of seats of the module | |
| Type | Name |
|---|---|
seatElementsType | seatElement |