/usr/include/citygml/envelope.h is in libcitygml-dev 2.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | #pragma once
#include <iostream>
#include <citygml/citygml_api.h>
#include <citygml/vecs.hpp>
namespace citygml {
/**
* @brief The Envelope class defines a bounding box in an spatial reference system (gml:Envelope)
*/
class LIBCITYGML_EXPORT Envelope
{
public:
Envelope();
Envelope(const std::string& srsName);
/**
* @brief lower left front corner of the bounding box in srs coordinates
*/
const TVec3d& getLowerBound() const;
void setLowerBound(const TVec3d& coordinate);
/**
* @brief upper right back corner of the bounding box in srs coordinates
*/
const TVec3d& getUpperBound() const;
void setUpperBound(const TVec3d& coordinate);
/**
* @brief the name of the spatial reference system
*/
const std::string& srsName() const;
const bool validBounds() const;
protected:
TVec3d m_lowerBound;
TVec3d m_upperBound;
std::string m_srsName;
};
std::ostream& operator<<( std::ostream&, const citygml::Envelope& );
}
|