PROJ C++ API
Public Member Functions | List of all members
osgeo::proj::metadata::GeographicExtent Class Referenceabstract

Base interface for geographic area of the dataset. More...

#include <metadata.hpp>

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

Public Member Functions

bool isEquivalentTo (const util::IComparable *other, util::IComparable::Criterion criterion=util::IComparable::Criterion::STRICT) const override=0
 Returns whether an object is equivalent to another one. More...
 
virtual bool contains (const GeographicExtentNNPtr &other) const =0
 Returns whether this extent contains the other one.
 
virtual bool intersects (const GeographicExtentNNPtr &other) const =0
 Returns whether this extent intersects the other one.
 
virtual GeographicExtentPtr intersection (const GeographicExtentNNPtr &other) const =0
 Returns the intersection of this extent with another one.
 

Additional Inherited Members

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

Detailed Description

Base interface for geographic area of the dataset.

Remarks
Simplified version of GeographicExtent from GeoAPI

Member Function Documentation

bool osgeo::proj::metadata::GeographicExtent::isEquivalentTo ( const util::IComparable other,
util::IComparable::Criterion  criterion = util::IComparable::Criterion::STRICT 
) const
overridepure virtual

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.

Implemented in osgeo::proj::metadata::GeographicBoundingBox.


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