PROJ C++ API
Public Member Functions | Static Public Member Functions | List of all members
osgeo::proj::metadata::VerticalExtent Class Reference

Vertical domain of dataset. More...

#include <metadata.hpp>

Inheritance diagram for osgeo::proj::metadata::VerticalExtent:
Inheritance graph
[legend]
Collaboration diagram for osgeo::proj::metadata::VerticalExtent:
Collaboration graph
[legend]

Public Member Functions

double minimumValue () PROJ_CONST_DECL
 Returns the minimum of the vertical extent.
 
double maximumValue () PROJ_CONST_DECL
 Returns the maximum of the vertical extent.
 
common::UnitOfMeasureNNPtrunit () PROJ_CONST_DECL
 Returns the unit of the vertical extent.
 
bool isEquivalentTo (const util::IComparable *other, util::IComparable::Criterion criterion=util::IComparable::Criterion::STRICT) const override
 Returns whether an object is equivalent to another one. More...
 
bool contains (const VerticalExtentNNPtr &other) const
 Returns whether this extent contains the other one.
 
bool intersects (const VerticalExtentNNPtr &other) const
 Returns whether this extent intersects the other one.
 

Static Public Member Functions

static VerticalExtentNNPtr create (double minimumValue, double maximumValue, const common::UnitOfMeasureNNPtr &unitIn)
 Instanciate a VerticalExtent. More...
 

Additional Inherited Members

- Public Types inherited from osgeo::proj::util::IComparable
enum  Criterion { Criterion::STRICT, Criterion::EQUIVALENT }
 Comparison criterion. More...
 

Detailed Description

Vertical domain of dataset.

Remarks
Simplified version of VerticalExtent from GeoAPI

Member Function Documentation

VerticalExtentNNPtr osgeo::proj::metadata::VerticalExtent::create ( double  minimumIn,
double  maximumIn,
const common::UnitOfMeasureNNPtr unitIn 
)
static

Instanciate a VerticalExtent.

Parameters
minimumInminimum.
maximumInmaximum.
unitInunit.
Returns
a new VerticalExtent.
bool osgeo::proj::metadata::VerticalExtent::isEquivalentTo ( const util::IComparable other,
util::IComparable::Criterion  criterion = util::IComparable::Criterion::STRICT 
) const
overridevirtual

Returns whether an object is equivalent to another one.

Parameters
otherother object to compare to
criterioncomparaison criterion.
Returns
true if objects are equivalent.

Implements osgeo::proj::util::IComparable.


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