This file is indexed.

/usr/include/citygml/linestring.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
#pragma once

#include <citygml/citygml_api.h>
#include <citygml/object.h>
#include <citygml/vecs.hpp>
#include <memory>

#include <vector>

namespace citygml {

    class CityGMLFactory;

    /**
     * @brief The LineString class implements the gml:LineString object may also be used as a container of a single gml::Point
     */
    class LIBCITYGML_EXPORT LineString : public Object {
        friend class CityGMLFactory;
    public:
        int getDimensions() const;

        const std::vector<TVec2d>& getVertices2D() const;
        const std::vector<TVec3d>& getVertices3D() const;

        std::vector<TVec2d>& getVertices2D();
        std::vector<TVec3d>& getVertices3D();

        void setVertices2D(const std::vector<TVec2d>& vertices);
        void setVertices3D(const std::vector<TVec3d>& vertices);

        void setDimensions(int dim);

    protected:
        LineString(const std::string& id);
        std::vector<TVec2d> m_vertices_2d;
        std::vector<TVec3d> m_vertices_3d;
        int m_dimensions;
    };

}