/usr/include/citygml/linearring.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 | #pragma once
#include <vector>
#include <memory>
#include <citygml/citygml_api.h>
#include <citygml/object.h>
#include <citygml/vecs.hpp>
namespace citygml {
class TextureTargetDefinition;
class CityGMLLogger;
class LIBCITYGML_EXPORT LinearRing : public Object
{
public:
LinearRing( const std::string& id, bool isExterior );
bool isExterior() const;
unsigned int size() const;
const std::vector<TVec3d>& getVertices() const;
std::vector<TVec3d>& getVertices();
void setVertices(std::vector<TVec3d> vertices);
void addVertex( const TVec3d& v );
TVec3d computeNormal() const;
void removeDuplicateVertices(const std::vector<TextureTargetDefinition*>& targets , std::shared_ptr<CityGMLLogger> logger);
void forgetVertices();
protected:
bool m_exterior;
std::vector<TVec3d> m_vertices;
};
}
|