complexType · extension complexBaseType · all
Ellipsoid
The ellipsoid is defined in its own coordinate system, centered at the origin, with the semi-axes <radiusX>, <radiusY> and <radiusZ> along the x-, y- and z-axis. <radiusY> and <radiusZ> default to <radiusX>, so that a single radius gives a sphere.
<revolutionAngle> limits the ellipsoid to a sector about the z-axis, starting at the x-axis and turning towards the y-axis; without it the ellipsoid is complete. Unlike the other angles in CPACS, which are given in degrees, <revolutionAngle> is given in radians; it lies between 0, excluded, and 2π.
Figure (a) shows the semi-axes in the coordinate system of the ellipsoid. Figure (b) shows a sector with a revolution angle of 3π/2: it starts at the x-axis and turns about the z-axis towards the y-axis, so that the quarter between the negative y-axis and the positive x-axis is missing. The angle is drawn in a plane parallel to the x-y plane above the ellipsoid, where it is not hidden by the solid.
Where <radiusX> and <radiusY> differ, the angle is the parameter of the ellipse in the x-y plane, not the polar angle of the cut: for a revolution angle α, the end face of the sector lies at the polar angle atan2(radiusY · sin α, radiusX · cos α).
The sector of figure (b) as an element of a library; the revolution angle is given in radians:
<genericElement uID="element_ellipsoidSector">
<name>Ellipsoid sector</name>
<geometry>
<ellipsoids>
<ellipsoid>
<radiusX>0.6</radiusX>
<radiusY>0.4</radiusY>
<radiusZ>0.3</radiusZ>
<revolutionAngle>4.71238898</revolutionAngle>
</ellipsoid>
</ellipsoids>
</geometry>
<mass>
<density>600</density>
</mass>
</genericElement>| 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. | |||||
radiusX | doubleBaseType | [1..1] required | Semi-axis length in x-direction [m] | ||
radiusY | doubleBaseType | [0..1] optional | Semi-axis length in y-direction [m] (if not defined: equals radiusX) | ||
radiusZ | doubleBaseType | [0..1] optional | Semi-axis length in z-direction [m] (if not defined: equals radiusX) | ||
revolutionAngle | doubleBaseType | [0..1] optional | Revolution angle about the z-axis, starting at the x-axis; in radians, unlike the other angles in CPACS (if not defined: equals 2*pi) [rad] | ||
transformation | transformationSE3Type | [0..1] optional | Rotation and translation that place the primitive in the element coordinate system | ||
cpacs/vehicles/deckElements/ceilingPanelElements/ceilingPanelElement/geometry/ellipsoids/ellipsoidcpacs/vehicles/deckElements/classDividerElements/classDividerElement/geometry/ellipsoids/ellipsoidcpacs/vehicles/deckElements/galleyElements/galleyElement/geometry/ellipsoids/ellipsoidcpacs/vehicles/deckElements/genericFloorElements/genericFloorElement/geometry/ellipsoids/ellipsoidcpacs/vehicles/deckElements/lavatoryElements/lavatoryElement/geometry/ellipsoids/ellipsoidcpacs/vehicles/deckElements/luggageCompartmentElements/luggageCompartmentElement/geometry/ellipsoids/ellipsoidcpacs/vehicles/deckElements/seatElements/seatElement/geometry/ellipsoids/ellipsoidcpacs/vehicles/deckElements/sidewallPanelElements/sidewallPanelElement/geometry/ellipsoids/ellipsoidcpacs/vehicles/deckElements/cargoContainerElements/cargoContainerElement/geometry/ellipsoids/ellipsoidcpacs/vehicles/systemElements/genericElements/genericElement/geometry/ellipsoids/ellipsoidcpacs/vehicles/systemElements/electricalElements/genericElectricalElements/genericElectricalElement/geometry/ellipsoids/ellipsoidcpacs/vehicles/systemElements/electricalElements/storageElements/genericStorageElements/genericStorageElement/geometry/ellipsoids/ellipsoidcpacs/vehicles/systemElements/electricalElements/storageElements/batteries/battery/geometry/ellipsoids/ellipsoidcpacs/vehicles/systemElements/electricalElements/storageElements/capacitors/capacitor/geometry/ellipsoids/ellipsoidcpacs/vehicles/systemElements/electricalElements/storageElements/inductors/inductor/geometry/ellipsoids/ellipsoidcpacs/vehicles/systemElements/electricalElements/storageElements/superCapacitors/superCapacitor/geometry/ellipsoids/ellipsoidcpacs/vehicles/systemElements/electricalElements/conversionElements/genericConversionElements/genericConversionElement/geometry/ellipsoids/ellipsoidcpacs/vehicles/systemElements/electricalElements/conversionElements/generators/generator/geometry/ellipsoids/ellipsoidcpacs/vehicles/systemElements/electricalElements/conversionElements/acGenerators/acGenerator/geometry/ellipsoids/ellipsoidcpacs/vehicles/systemElements/electricalElements/conversionElements/dcGenerators/dcGenerator/geometry/ellipsoids/ellipsoidcpacs/vehicles/systemElements/electricalElements/conversionElements/fuelCellStacks/fuelCellStack/geometry/ellipsoids/ellipsoidcpacs/vehicles/systemElements/electricalElements/conversionElements/converters/converter/geometry/ellipsoids/ellipsoidcpacs/vehicles/systemElements/electricalElements/conversionElements/acdcConverters/acdcConverter/geometry/ellipsoids/ellipsoidcpacs/vehicles/systemElements/electricalElements/conversionElements/dcacConverters/dcacConverter/geometry/ellipsoids/ellipsoidcpacs/vehicles/systemElements/electricalElements/conversionElements/dcdcConverters/dcdcConverter/geometry/ellipsoids/ellipsoid| Type | Name |
|---|---|
ellipsoidsType | ellipsoid |