LuciadCPillar 2023.1.04
luciad::LonLatGrid Class Reference

The LonLat grid class represents how to visualize the LonLat grid on a map. More...

#include <luciad/layers/grids/lonlat/LonLatGrid.h>

Classes

class  AdvancedBuilder
 Advanced builder for a LonLat grid. More...
 
class  Builder
 Builder for a LonLat grid. More...
 

Public Member Functions

 LonLatGrid (const LonLatGrid &other)
 
 ~LonLatGrid ()
 
double getOriginLat () const
 Get the origin latitude of this grid. More...
 
double getOriginLon () const
 Get the origin longitude of this grid. More...
 
const std::vector< LonLatGridSetting > & getSettings () const
 Return the LonLatGridSettings used to create this grid. More...
 

Static Public Member Functions

static AdvancedBuilder newAdvancedBuilder ()
 Creates a new builder with the default values. More...
 
static Builder newBuilder ()
 Creates a new builder with the default values. More...
 

Detailed Description

The LonLat grid class represents how to visualize the LonLat grid on a map.

It combines one or more settings which determine how the grid is styled at different scale ranges.

The style settings in the grid may not overlap. Overlap occurs when the new style setting has an overlapping scale range with an existing style setting.

Since
2023.1

Constructor & Destructor Documentation

◆ LonLatGrid()

luciad::LonLatGrid::LonLatGrid ( const LonLatGrid other)

◆ ~LonLatGrid()

luciad::LonLatGrid::~LonLatGrid ( )

Member Function Documentation

◆ getOriginLat()

double luciad::LonLatGrid::getOriginLat ( ) const

Get the origin latitude of this grid.

Returns
the origin latitude.

◆ getOriginLon()

double luciad::LonLatGrid::getOriginLon ( ) const

Get the origin longitude of this grid.

Returns
the origin longitude.

◆ getSettings()

const std::vector< LonLatGridSetting > & luciad::LonLatGrid::getSettings ( ) const

Return the LonLatGridSettings used to create this grid.

Returns
the settings.

◆ newAdvancedBuilder()

static AdvancedBuilder luciad::LonLatGrid::newAdvancedBuilder ( )
static

Creates a new builder with the default values.

This builder allows you to configure the LonLat grid styling for different scale ranges.

Returns
the new builder.

◆ newBuilder()

static Builder luciad::LonLatGrid::newBuilder ( )
static

Creates a new builder with the default values.

This builder comes with pre-defined settings for scale ranges. It allows you to customize the styling, for example the line style to use.

Returns
the new builder.