NDEVR
API Documentation
CoordinateConverterFactoryabstract

Allows for the creation of Coordinate spaces. More...

Inheritance diagram for CoordinateConverterFactory:
[legend]
Collaboration diagram for CoordinateConverterFactory:
[legend]

Public Member Functions

virtual CoordinateConvertercreateConverter (const CoordinateProjection &to_projection, const CoordinateProjection &from_projection)=0
 Creates a new CoordinateConverter for converting between two projections.

Static Public Member Functions

static CoordinateConverterFactoryDefaultFactory ()
 Returns the default CoordinateConverterFactory instance.

Static Protected Attributes

static CoordinateConverterFactorys_converter
 The global default converter factory instance.

Detailed Description

Allows for the creation of Coordinate spaces.


Definition at line 126 of file CoordinateConverter.h.

Member Function Documentation

◆ createConverter()

virtual CoordinateConverter * CoordinateConverterFactory::createConverter ( const CoordinateProjection & to_projection,
const CoordinateProjection & from_projection )
pure virtual

Creates a new CoordinateConverter for converting between two projections.

Parameters
[in]to_projectionThe target coordinate projection.
[in]from_projectionThe source coordinate projection.
Returns
A pointer to the newly created CoordinateConverter. Caller takes ownership.

Implemented in Proj4CoordinateConverterFactory.

◆ DefaultFactory()

CoordinateConverterFactory * CoordinateConverterFactory::DefaultFactory ( )
inlinestatic

Returns the default CoordinateConverterFactory instance.

Returns
A pointer to the globally registered factory, or nullptr if none has been set.

Definition at line 140 of file CoordinateConverter.h.

References s_converter.


The documentation for this class was generated from the following file: