1 Definition
A Data Type representing an ellipse (2D) or ellipsoid (3D).
2 Functional Requirements
An ellipse or ellipsoid is defined by
- Centre
- Radii and angle
- Ellipse:
- The angle of the x radius with the longer radius.
- The lengths of the two radii.
- Ellipsoid:
- The angles of the coordinate axes with the semi-axes in decreasing length.
- The lengths of the three radii.
- Ellipse:
3 Syntax
https://schemas.mpai.community/OSD/V1.1/data/Ellipsoid.json
4 Semantics
| Label | Size | Description |
| Header | N1 Bytes | Right Parallelepiped Header |
| – Standard-Ellipsoid | 9 Bytes | The characters “OSD-EPD-V” |
| – Version | N2 Bytes | Major version – 1 or 2 characters |
| – Dot-separator | 1 Byte | The character “.” |
| – Subversion | N3 Bytes | Minor version – 1 or 2 characters |
| MInstanceID | N4 Bytes | Identifier of M-Instance |
| EllipsoiodID | N5 Bytes | Identifier of Ellipsoid. |
| Dimensions | 1 Byte | One of 2D, 3D |
|
EllipsoidData
|
N6 Bytes | Data about Right Parallelepiped. |
| – Precision | 1 Byte | Simple or double precision |
| – CartPositions | 12/24 Bytes | – The Positions of the centre. – The length of the semi-axes – 2D: The angle of the x axis with the longer semi-axis. – 3D: The angles of the coordinate axes with the semi-axes in decreasing length. |
| DescrMetadata | N7 Bytes | Descriptive Metadata |