/usr/include/citygml/implictgeometry.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 <vector>
#include <memory>
#include <citygml/object.h>
#include <citygml/transformmatrix.h>
#include <citygml/vecs.hpp>
namespace citygml {
class Geometry;
class CityGMLFactory;
class ImplicitGeometry : public Object
{
friend class CityGMLFactory;
public:
void setTransformMatrix(const TransformationMatrix matrix);
const TransformationMatrix& getTransformMatrix() const;
void setReferencePoint(const TVec3d& referencePoint);
TVec3d getReferencePoint() const;
void addGeometry(std::shared_ptr<Geometry> geom);
// Get the number of geometries contains in the object
unsigned int getGeometriesCount() const;
// Access the geometries
Geometry& getGeometry( unsigned int i ) const;
// Access the srs of the implicit geometry
std::string getSRSName() const;
void setSRSName(const std::string& srsName);
protected:
ImplicitGeometry(const std::string& id);
TransformationMatrix m_matrix;
TVec3d m_referencePoint;
std::vector<std::shared_ptr<Geometry>> m_geometries;
std::string m_srsName;
};
}
|