Builder for creating luciad::MgrsFormat
.
More...
#include <luciad/grids/mgrs/MgrsFormat.h>
Builder for creating luciad::MgrsFormat
.
Example usage:
@ Precision1M
Precision of 1 meter.
◆ Builder()
luciad::MgrsFormat::Builder::Builder |
( |
const Builder & |
other | ) |
|
◆ ~Builder()
luciad::MgrsFormat::Builder::~Builder |
( |
| ) |
|
◆ build()
MgrsFormat luciad::MgrsFormat::Builder::build |
( |
| ) |
const |
Creates the MGRS format, based on the properties set on this builder.
- Returns
- the MGRS format, based on the properties set on this builder.
- Exceptions
-
◆ coordinateSeparator()
Builder & luciad::MgrsFormat::Builder::coordinateSeparator |
( |
std::string |
coordinateSeparator | ) |
|
Sets the string to separate the zone/grid letters and the coordinates.
- Parameters
-
coordinateSeparator | the coordinateSeparator. If not set, default is an empty string. |
- Returns
- this builder.
◆ formatType()
◆ precision()
◆ zoneSeparator()
Builder & luciad::MgrsFormat::Builder::zoneSeparator |
( |
std::string |
zoneSeparator | ) |
|
Sets the string to use as zoneSeparator between the grid zone and the 100km squares when formatting MGRS strings.
- Parameters
-
zoneSeparator | the zoneSeparator. If not set, default is an empty string. |
- Returns
- this builder.