# Alignment Object

\<The "Alignment" object is used to define the alignment of a road or bridge.

* Station: The station of the starting point of the alignment.
* Azimuth: The angle that the initial alignment makes with North, expressed in radians. Zero azimuth corresponds to North (optional).
* Latitude: Defines the starting point of the route based on the X axis (optional).
* Longitude: Defines the starting point of the route based on the Y axis (optional).
* Elevation: Defines the starting point of the route, together with Latitude and Longitude. It is also known as the elevation.

**Example Syntax:**

```
...
<O T="Alignment">
...
...
</O>
```

**Example:**

```xml
<O N="AlignmentObject1" T="Project" Category="3D Geometric Objects" TransAlignRule="Right">
    <!-- created by ParamML Examples on 02.02.2023 -->
    <O N="Route" T="Alignment" Station="300" Azimuth="PI/2" Lat="0" Lng="0" Elev="1000" />
    <O T="Line" Alignment="Route">
        <O T="Point" X="0" Y="0" Z="0" />
        <O T="Point" X="10" Y="0" Z="0" />
    </O>
</O>
```

"Route" object contains Alignment parameters. To view this example in the library, see (<https://openbrim.org/platform/?application=inc&author=ParamML_Examples_OpenBrIM+Platform&folder=3D+Geometric+Objects&obj=objidzt0qdokk0eb0dh0pmbh8p>)

**Parameters of Alignment Object:**

\| | **Label** | **Mandatory** | **Name and Type Attributes** | **Default Description and Value Attributes** | **Other Attributes** | | --- | --- | --- | --- | --- | | 1 | Station | No | N="Station" | D="Station: The station number at start of the alignment." V="0" | Role="Input" UT="Length" UC="Coordinate" | | 2 | Azimuth | No | N="Azimuth" | D="Azimuth: Orientation of the heading at start of the alignment. North is zero, clockwise direction." V="0" | Role="Input" UT="Angle" UC="Coordinate" | | 3 | Latitude | No | N="StartLatitude" | D="Latitude: Optional latitude value for the start of the alignment. For GIS." V="0" | Role="Input" UT="Angle" UC="Coordinate" | | 4 | Longitude | No | N="StartLongitude" | D="Longitude: Optional longitude value for the start of the alignment. For GIS." V="0" | Role="Input" UT="Angle" UC="Coordinate" |
