/usr/include/citygml/texturecoordinates.h is in libcitygml-dev 2.0.8-1.
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 | #pragma once
#include <string>
#include <vector>
#include <memory>
#include <citygml/citygml_api.h>
#include <citygml/vecs.hpp>
#include <citygml/object.h>
namespace citygml {
class LinearRing;
/**
* @brief The TextureCoordinates class describes a mapping of texture coordinates to the vertices of a linear ring
*/
class LIBCITYGML_EXPORT TextureCoordinates : public Object {
public:
TextureCoordinates(std::string id, std::string targetID);
bool targets(const LinearRing& ring) const;
std::string getTargetLinearRingID() const;
const std::vector<TVec2f>& getCoords() const;
void setCoords(std::vector<TVec2f> texCoords);
bool eraseCoordinate(unsigned int i);
protected:
std::string m_targetID;
std::vector<TVec2f> m_coordlist;
};
}
|