R_GE_S_POLYGON_WRONG_ORIENTATION#
Requirement#
| ID | R_GE_S_POLYGON_WRONG_ORIENTATION |
|---|---|
| Description | A polygon must be oriented so that the normal of the exterior ring points outward. The points are arranged counter-clockwise. |
| Error code | GE_S_POLYGON_WRONG_ORIENTATION |

Check#
| ID | C_GE_S_POLYGON_WRONG_ORIENTATION |
|---|---|
| Requirement ID | R_GE_S_POLYGON_WRONG_ORIENTATION |
| Preconditions | R_SC_SCHEMA_VALIDATION, R_GE_R_ALL, R_GE_P_ALL, GE_S_TOO_FEW_POLYGONS, GE_S_NOT_CLOSED, GE_S_NON_MANIFOLD_EDGE |
| Description | |
| Error code | GE_S_POLYGON_WRONG_ORIENTATION |
Test cases#
| Test case ID | CityGML model | Expected result |
|---|---|---|
| GE-gml:SO-0007-T0001 | SimpleSolid_SrefBS.gml | OK |
| GE-gml:SO-0007-T0002 | SimpleSolid_SrefBS-GE-gml-SO-0007-T0001.gml | GE_S_POLYGON_WRONG_ORIENTATION |