Skip to content

Commit

Permalink
introduce ellipsoid; fix genericGeometryComponentType
Browse files Browse the repository at this point in the history
  • Loading branch information
MarAlder committed Nov 24, 2024
1 parent 062fc6a commit 0dcb72a
Showing 1 changed file with 62 additions and 50 deletions.
112 changes: 62 additions & 50 deletions schema/cpacs_schema.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -12499,7 +12499,7 @@ [email protected]
<xsd:choice>
<xsd:element name="parallelepiped" type="parallelepipedType"/>
<xsd:element name="frustum" type="frustumType"/>
<xsd:element name="sphere" type="sphereType"/>
<xsd:element name="ellipsoid" type="ellipsoidType"/>
<xsd:element name="externalGeometry" type="externalGeometryType"/>
<xsd:element name="genericGeometry" type="genericGeometryType"/>
<xsd:element name="boundingBox" type="boundingBoxType"/>
Expand Down Expand Up @@ -12572,6 +12572,44 @@ [email protected]
</xsd:complexContent>
</xsd:complexType>

<xsd:complexType name="ellipsoidType">
<xsd:annotation>
<xsd:appinfo>
<sd:schemaDoc>
<ddue:summary>
<ddue:para>Ellipsoid</ddue:para>
</ddue:summary>
<ddue:remarks>
<ddue:para>The local component coordinate system of the ellipsoid lies in its center.
From there, the "radius" extends to the edge of the ellipsoid.
</ddue:para>
</ddue:remarks>
</sd:schemaDoc>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="complexBaseType">
<xsd:all>
<xsd:element name="a" type="doubleBaseType">
<xsd:annotation>
<xsd:documentation>a: Radius in x-direction [m]</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="b" minOccurs="0" type="doubleBaseType">
<xsd:annotation>
<xsd:documentation>a: Radius in y-direction [m] (if not defined: equals a)</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="c" minOccurs="0" type="doubleBaseType">
<xsd:annotation>
<xsd:documentation>a: Radius in z-direction [m] (if not defined: equals a)</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:all>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>

<xsd:complexType name="emissivityMapType">
<xsd:annotation>
<xsd:appinfo>
Expand Down Expand Up @@ -15459,13 +15497,6 @@ [email protected]
<xsd:documentation>Upper radius [m] (if not defined: equals lowerRadius)</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="scaling" minOccurs="0" type="pointType">
<xsd:annotation>
<xsd:documentation>Scaling data default: 1,1,1. Those parameters
describe the scaling of the x-, y-, and z-axis.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:all>
</xsd:extension>
</xsd:complexContent>
Expand Down Expand Up @@ -16996,6 +17027,29 @@ The fuel tank volume type should also be used for the wing fuel tank</xsd:docume
</xsd:complexContent>
</xsd:complexType>

<xsd:complexType name="genericGeometryComponentType">
<xsd:annotation>
<xsd:appinfo>
<sd:schemaDoc>
<ddue:summary>
<ddue:para>Generic geometry component</ddue:para>
</ddue:summary>
<ddue:remarks>
<ddue:para/>
</ddue:remarks>
</sd:schemaDoc>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="complexBaseType">
<xsd:all>
<xsd:element name="linkToFile" type="linkToFileType"/>
<xsd:element name="transformation" type="transformationType"/>
</xsd:all>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>

<xsd:complexType name="genericGeometryType">
<xsd:annotation>
<xsd:appinfo>
Expand Down Expand Up @@ -27027,13 +27081,6 @@ The fuel tank volume type should also be used for the wing fuel tank</xsd:docume
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:element name="scaling" minOccurs="0" type="pointType">
<xsd:annotation>
<xsd:documentation>Scaling data default: 1,1,1. Those parameters
describe the scaling of the x-, y-, and z-axis.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
Expand Down Expand Up @@ -33077,41 +33124,6 @@ The fuel tank volume type should also be used for the wing fuel tank</xsd:docume
</xsd:simpleContent>
</xsd:complexType>

<xsd:complexType name="sphereType">
<xsd:annotation>
<xsd:appinfo>
<sd:schemaDoc>
<ddue:summary>
<ddue:para>Sphere</ddue:para>
</ddue:summary>
<ddue:remarks>
<ddue:para>The local component coordinate system of the sphere lies in its center.
From there, the "radius" extends to the edge of the sphere.
</ddue:para>
</ddue:remarks>
</sd:schemaDoc>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="complexBaseType">
<xsd:all>
<xsd:element name="radius" type="doubleBaseType">
<xsd:annotation>
<xsd:documentation>Radius [m]</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="scaling" minOccurs="0" type="pointType">
<xsd:annotation>
<xsd:documentation>Scaling data default: 1,1,1. Those parameters
describe the scaling of the x-, y-, and z-axis.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:all>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>

<xsd:complexType name="spoilersType">
<xsd:annotation>
<xsd:appinfo>
Expand Down

0 comments on commit 0dcb72a

Please sign in to comment.