| 1 Definition | 2 Functional Requirements | 3 Syntax |
| 4 Semantics | 5 Conformance Testing | 6 Performance Assessment |
1 Definition
A Data Type representing a rectangle (2D or right parallelepiped containing a 2D or 3D Visual Object, respectively.
2 Functional Requirements
The rectangle or right parallelepiped is defined, respectively, by
- Rectangle (2D): 3 vertices not on a straight line.
- Right Parallelepiped (3D): 4 vertices not on a plane.
3 Syntax
https://schemas.mpai.community/OSD/V1.3/data/RightParallelepiped.json
4 Semantics
| Label | Size | Description |
| Header | N1 Bytes | Right Parallelepiped Header |
| – Standard-RightParallelepiped | 9 Bytes | The characters “OSD-RPP-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 |
| RightParallelepipedID | N5 Bytes | Identifier of Right Parallelepiped. |
| Dimensions | 1 Byte | One of 2D, 3D |
|
RightParallelepipedData
|
N6 Bytes | Data about Right Parallelepiped. |
| – Precision | 1 Byte | Simple or double precision |
| – CartPositions | 12/24 Bytes | The Positions of the selected vertices of the rectangle/parallelepiped. |
| DescrMetadata | N6 Bytes | Descriptive Metadata |
5 Conformance Testing
A Data instance Conforms with MPAI-OSD V1.2 Right Parallelepiped (OSD-RPP) if:
- The Data validates against the Right Parallelepiped’s JSON Schema.
- All Data in the Right Parallelepiped’s JSON Schema have the specified type.