\hypertarget{classosgeo_1_1proj_1_1metadata_1_1Extent}{}\doxysection{osgeo\+::proj\+::metadata\+::Extent Class Reference}
\label{classosgeo_1_1proj_1_1metadata_1_1Extent}\index{osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}}


Information about spatial, vertical, and temporal extent.  




{\ttfamily \#include $<$metadata.\+hpp$>$}



Inheritance diagram for osgeo\+::proj\+::metadata\+::Extent\+:
% FIG 0


Collaboration diagram for osgeo\+::proj\+::metadata\+::Extent\+:
% FIG 1
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
const \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1optional}{util\+::optional}}$<$ std\+::string $>$ \& \mbox{\hyperlink{classosgeo_1_1proj_1_1metadata_1_1Extent_aa25afe2c6353ab8af0c2cefd5a11fab4}{description}} ()
\item 
const std\+::vector$<$ \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_a6464c1736a2af44ef917a8888cb6d6fb}{Geographic\+Extent\+NNPtr}} $>$ \& \mbox{\hyperlink{classosgeo_1_1proj_1_1metadata_1_1Extent_a1f9cda5cfdca9d588a82786a74319ac9}{geographic\+Elements}} ()
\item 
const std\+::vector$<$ \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_a304153f91ed6d2063b7a066d453349ab}{Temporal\+Extent\+NNPtr}} $>$ \& \mbox{\hyperlink{classosgeo_1_1proj_1_1metadata_1_1Extent_a3ebec9f135e2e791714d81398e8a402d}{temporal\+Elements}} ()
\item 
const std\+::vector$<$ \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_aac464d7cdc2ed6ff6e2df8d7defa33bc}{Vertical\+Extent\+NNPtr}} $>$ \& \mbox{\hyperlink{classosgeo_1_1proj_1_1metadata_1_1Extent_aefce02059f3629983fa89bd9fab4624c}{vertical\+Elements}} ()
\item 
bool \mbox{\hyperlink{classosgeo_1_1proj_1_1metadata_1_1Extent_adf5481532f36b71f30565369e34aca2b}{contains}} (const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_af1a3c8cdeaecefe3e24f6d6b88b084f3}{Extent\+NNPtr}} \&other) const
\begin{DoxyCompactList}\small\item\em Returns whether this extent contains the other one. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{classosgeo_1_1proj_1_1metadata_1_1Extent_a9ebd119cc24dd0cd60779b30313ed500}{intersects}} (const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_af1a3c8cdeaecefe3e24f6d6b88b084f3}{Extent\+NNPtr}} \&other) const
\begin{DoxyCompactList}\small\item\em Returns whether this extent intersects the other one. \end{DoxyCompactList}\item 
\mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_a0d6b619c883f52d0e1f2b112c6f4dc96}{Extent\+Ptr}} \mbox{\hyperlink{classosgeo_1_1proj_1_1metadata_1_1Extent_ac4c29ae3191fd2e5c65d776faf1dcc2a}{intersection}} (const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_af1a3c8cdeaecefe3e24f6d6b88b084f3}{Extent\+NNPtr}} \&other) const
\begin{DoxyCompactList}\small\item\em Returns the intersection of this extent with another one. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_af1a3c8cdeaecefe3e24f6d6b88b084f3}{Extent\+NNPtr}} \mbox{\hyperlink{classosgeo_1_1proj_1_1metadata_1_1Extent_a1b01874ebee29f493cb6b8fa314bd0d0}{create}} (const \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1optional}{util\+::optional}}$<$ std\+::string $>$ \&description\+In, const std\+::vector$<$ \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_a6464c1736a2af44ef917a8888cb6d6fb}{Geographic\+Extent\+NNPtr}} $>$ \&geographic\+Elements\+In, const std\+::vector$<$ \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_aac464d7cdc2ed6ff6e2df8d7defa33bc}{Vertical\+Extent\+NNPtr}} $>$ \&vertical\+Elements\+In, const std\+::vector$<$ \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_a304153f91ed6d2063b7a066d453349ab}{Temporal\+Extent\+NNPtr}} $>$ \&temporal\+Elements\+In)
\begin{DoxyCompactList}\small\item\em Instantiate a \mbox{\hyperlink{classosgeo_1_1proj_1_1metadata_1_1Extent}{Extent}}. \end{DoxyCompactList}\item 
static \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_af1a3c8cdeaecefe3e24f6d6b88b084f3}{Extent\+NNPtr}} \mbox{\hyperlink{classosgeo_1_1proj_1_1metadata_1_1Extent_ac248d18e05a12680128b819eca0b6e77}{create\+From\+BBOX}} (double west, double south, double east, double north, const \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1optional}{util\+::optional}}$<$ std\+::string $>$ \&description\+In=\mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1optional}{util\+::optional}}$<$ std\+::string $>$())
\begin{DoxyCompactList}\small\item\em Instantiate a \mbox{\hyperlink{classosgeo_1_1proj_1_1metadata_1_1Extent}{Extent}} from a bounding box. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classosgeo_1_1proj_1_1metadata_1_1Extent_a2df22953a1ae181c19526b06fc3ae1ae}\label{classosgeo_1_1proj_1_1metadata_1_1Extent_a2df22953a1ae181c19526b06fc3ae1ae}} 
static const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_af1a3c8cdeaecefe3e24f6d6b88b084f3}{Extent\+NNPtr}} {\bfseries WORLD}
\begin{DoxyCompactList}\small\item\em World extent. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Additional Inherited Members}


\doxysubsection{Detailed Description}
Information about spatial, vertical, and temporal extent. 

\begin{DoxyRemark}{Remarks}
Simplified version of \mbox{[}\mbox{\hyperlink{classosgeo_1_1proj_1_1metadata_1_1Extent}{Extent}}\mbox{]} (\href{http://www.geoapi.org/3.0/javadoc/org/opengis/metadata/extent/Extent.html}{\texttt{ http\+://www.\+geoapi.\+org/3.\+0/javadoc/org/opengis/metadata/extent/\+Extent.\+html}}) from \mbox{\hyperlink{general_doc_GeoAPI}{Geo\+API}} 
\end{DoxyRemark}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1metadata_1_1Extent_adf5481532f36b71f30565369e34aca2b}\label{classosgeo_1_1proj_1_1metadata_1_1Extent_adf5481532f36b71f30565369e34aca2b}} 
\index{osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}!contains@{contains}}
\index{contains@{contains}!osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}}
\doxysubsubsection{\texorpdfstring{contains()}{contains()}}
{\footnotesize\ttfamily bool osgeo\+::proj\+::metadata\+::\+Extent\+::contains (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_af1a3c8cdeaecefe3e24f6d6b88b084f3}{Extent\+NNPtr}} \&}]{other }\end{DoxyParamCaption}) const}



Returns whether this extent contains the other one. 

Behavior only well specified if each sub-\/extent category as at most one element. \mbox{\Hypertarget{classosgeo_1_1proj_1_1metadata_1_1Extent_a1b01874ebee29f493cb6b8fa314bd0d0}\label{classosgeo_1_1proj_1_1metadata_1_1Extent_a1b01874ebee29f493cb6b8fa314bd0d0}} 
\index{osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}!create@{create}}
\index{create@{create}!osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}}
\doxysubsubsection{\texorpdfstring{create()}{create()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_af1a3c8cdeaecefe3e24f6d6b88b084f3}{Extent\+NNPtr}} osgeo\+::proj\+::metadata\+::\+Extent\+::create (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1optional}{util\+::optional}}$<$ std\+::string $>$ \&}]{description\+In,  }\item[{const std\+::vector$<$ \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_a6464c1736a2af44ef917a8888cb6d6fb}{Geographic\+Extent\+NNPtr}} $>$ \&}]{geographic\+Elements\+In,  }\item[{const std\+::vector$<$ \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_aac464d7cdc2ed6ff6e2df8d7defa33bc}{Vertical\+Extent\+NNPtr}} $>$ \&}]{vertical\+Elements\+In,  }\item[{const std\+::vector$<$ \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_a304153f91ed6d2063b7a066d453349ab}{Temporal\+Extent\+NNPtr}} $>$ \&}]{temporal\+Elements\+In }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Instantiate a \mbox{\hyperlink{classosgeo_1_1proj_1_1metadata_1_1Extent}{Extent}}. 


\begin{DoxyParams}{Parameters}
{\em description\+In} & Textual description, or empty. \\
\hline
{\em geographic\+Elements\+In} & Geographic element(s), or empty. \\
\hline
{\em vertical\+Elements\+In} & Vertical element(s), or empty. \\
\hline
{\em temporal\+Elements\+In} & Temporal element(s), or empty. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a new \mbox{\hyperlink{classosgeo_1_1proj_1_1metadata_1_1Extent}{Extent}}. 
\end{DoxyReturn}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1metadata_1_1Extent_ac248d18e05a12680128b819eca0b6e77}\label{classosgeo_1_1proj_1_1metadata_1_1Extent_ac248d18e05a12680128b819eca0b6e77}} 
\index{osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}!createFromBBOX@{createFromBBOX}}
\index{createFromBBOX@{createFromBBOX}!osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}}
\doxysubsubsection{\texorpdfstring{createFromBBOX()}{createFromBBOX()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_af1a3c8cdeaecefe3e24f6d6b88b084f3}{Extent\+NNPtr}} osgeo\+::proj\+::metadata\+::\+Extent\+::create\+From\+BBOX (\begin{DoxyParamCaption}\item[{double}]{west,  }\item[{double}]{south,  }\item[{double}]{east,  }\item[{double}]{north,  }\item[{const \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1optional}{util\+::optional}}$<$ std\+::string $>$ \&}]{description\+In = {\ttfamily \mbox{\hyperlink{classosgeo_1_1proj_1_1util_1_1optional}{util\+::optional}}$<$std\+:\+:string$>$()} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Instantiate a \mbox{\hyperlink{classosgeo_1_1proj_1_1metadata_1_1Extent}{Extent}} from a bounding box. 


\begin{DoxyParams}{Parameters}
{\em west} & Western-\/most coordinate of the limit of the dataset extent (in degrees). \\
\hline
{\em south} & Southern-\/most coordinate of the limit of the dataset extent (in degrees). \\
\hline
{\em east} & Eastern-\/most coordinate of the limit of the dataset extent (in degrees). \\
\hline
{\em north} & Northern-\/most coordinate of the limit of the dataset extent (in degrees). \\
\hline
{\em description\+In} & Textual description, or empty. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a new \mbox{\hyperlink{classosgeo_1_1proj_1_1metadata_1_1Extent}{Extent}}. 
\end{DoxyReturn}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1metadata_1_1Extent_aa25afe2c6353ab8af0c2cefd5a11fab4}\label{classosgeo_1_1proj_1_1metadata_1_1Extent_aa25afe2c6353ab8af0c2cefd5a11fab4}} 
\index{osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}!description@{description}}
\index{description@{description}!osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}}
\doxysubsubsection{\texorpdfstring{description()}{description()}}
{\footnotesize\ttfamily const optional$<$ std\+::string $>$ \& osgeo\+::proj\+::metadata\+::\+Extent\+::description (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Return a textual description of the extent.

\begin{DoxyReturn}{Returns}
the description, or empty. 
\end{DoxyReturn}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1metadata_1_1Extent_a1f9cda5cfdca9d588a82786a74319ac9}\label{classosgeo_1_1proj_1_1metadata_1_1Extent_a1f9cda5cfdca9d588a82786a74319ac9}} 
\index{osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}!geographicElements@{geographicElements}}
\index{geographicElements@{geographicElements}!osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}}
\doxysubsubsection{\texorpdfstring{geographicElements()}{geographicElements()}}
{\footnotesize\ttfamily const std\+::vector$<$ \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_a6464c1736a2af44ef917a8888cb6d6fb}{Geographic\+Extent\+NNPtr}} $>$ \& osgeo\+::proj\+::metadata\+::\+Extent\+::geographic\+Elements (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Return the geographic element(s) of the extent

\begin{DoxyReturn}{Returns}
the geographic element(s), or empty. 
\end{DoxyReturn}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1metadata_1_1Extent_ac4c29ae3191fd2e5c65d776faf1dcc2a}\label{classosgeo_1_1proj_1_1metadata_1_1Extent_ac4c29ae3191fd2e5c65d776faf1dcc2a}} 
\index{osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}!intersection@{intersection}}
\index{intersection@{intersection}!osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}}
\doxysubsubsection{\texorpdfstring{intersection()}{intersection()}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_a0d6b619c883f52d0e1f2b112c6f4dc96}{Extent\+Ptr}} osgeo\+::proj\+::metadata\+::\+Extent\+::intersection (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_af1a3c8cdeaecefe3e24f6d6b88b084f3}{Extent\+NNPtr}} \&}]{other }\end{DoxyParamCaption}) const}



Returns the intersection of this extent with another one. 

Behavior only well specified if there is one single \mbox{\hyperlink{classosgeo_1_1proj_1_1metadata_1_1GeographicExtent}{Geographic\+Extent}} in each object. Returns nullptr otherwise. \mbox{\Hypertarget{classosgeo_1_1proj_1_1metadata_1_1Extent_a9ebd119cc24dd0cd60779b30313ed500}\label{classosgeo_1_1proj_1_1metadata_1_1Extent_a9ebd119cc24dd0cd60779b30313ed500}} 
\index{osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}!intersects@{intersects}}
\index{intersects@{intersects}!osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}}
\doxysubsubsection{\texorpdfstring{intersects()}{intersects()}}
{\footnotesize\ttfamily bool osgeo\+::proj\+::metadata\+::\+Extent\+::intersects (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_af1a3c8cdeaecefe3e24f6d6b88b084f3}{Extent\+NNPtr}} \&}]{other }\end{DoxyParamCaption}) const}



Returns whether this extent intersects the other one. 

Behavior only well specified if each sub-\/extent category as at most one element. \mbox{\Hypertarget{classosgeo_1_1proj_1_1metadata_1_1Extent_a3ebec9f135e2e791714d81398e8a402d}\label{classosgeo_1_1proj_1_1metadata_1_1Extent_a3ebec9f135e2e791714d81398e8a402d}} 
\index{osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}!temporalElements@{temporalElements}}
\index{temporalElements@{temporalElements}!osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}}
\doxysubsubsection{\texorpdfstring{temporalElements()}{temporalElements()}}
{\footnotesize\ttfamily const std\+::vector$<$ \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_a304153f91ed6d2063b7a066d453349ab}{Temporal\+Extent\+NNPtr}} $>$ \& osgeo\+::proj\+::metadata\+::\+Extent\+::temporal\+Elements (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Return the temporal element(s) of the extent

\begin{DoxyReturn}{Returns}
the temporal element(s), or empty. 
\end{DoxyReturn}
\mbox{\Hypertarget{classosgeo_1_1proj_1_1metadata_1_1Extent_aefce02059f3629983fa89bd9fab4624c}\label{classosgeo_1_1proj_1_1metadata_1_1Extent_aefce02059f3629983fa89bd9fab4624c}} 
\index{osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}!verticalElements@{verticalElements}}
\index{verticalElements@{verticalElements}!osgeo::proj::metadata::Extent@{osgeo::proj::metadata::Extent}}
\doxysubsubsection{\texorpdfstring{verticalElements()}{verticalElements()}}
{\footnotesize\ttfamily const std\+::vector$<$ \mbox{\hyperlink{namespaceosgeo_1_1proj_1_1metadata_aac464d7cdc2ed6ff6e2df8d7defa33bc}{Vertical\+Extent\+NNPtr}} $>$ \& osgeo\+::proj\+::metadata\+::\+Extent\+::vertical\+Elements (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

Return the vertical element(s) of the extent

\begin{DoxyReturn}{Returns}
the vertical element(s), or empty. 
\end{DoxyReturn}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
include/proj/metadata.\+hpp\item 
src/iso19111/metadata.\+cpp\item 
src/iso19111/static.\+cpp\end{DoxyCompactItemize}
