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

  1. Rectangle (2D): 3 vertices not on a straight line.
  2. Right Parallelepiped (3D): 4 vertices not on a plane.

3      Syntax

https://schemas.mpai.community/OSD/V1.4/data/RightParallelepiped.json

4      Semantics

Label Description
Header Right Parallelepiped Header
– Standard-RightParallelepiped The characters “OSD-RPP-V”
– Version Major version – 1 or 2 characters
– Dot-separator The character “.”
– Subversion Minor version – 1 or 2 characters
MInstanceID Identifier of M-Instance
RightParallelepipedID Identifier of Right Parallelepiped.
Dimensions One of 2D, 3D
RightParallelepipedData
Data about Right Parallelepiped.
– Precision Simple or double precision
– CartPositions The Positions of the selected vertices of the rectangle/parallelepiped.
DescrMetadata Descriptive Metadata

5     Conformance Testing

A Data instance Conforms with MPAI-OSD Right Parallelepiped (OSD-RPP) if:

  1. The Data validates against the Right Parallelepiped’s JSON Schema.
  2. All Data in the  Right Parallelepiped’s JSON Schema have the specified type.

6     Performance Assessment