Skip to content

File lineSubstring.h

File List > algorithm > lineSubstring.h

Go to the documentation of this file

// Copyright (c) 2012-2013, IGN France.
// Copyright (c) 2012-2022, Oslandia.
// SPDX-License-Identifier: LGPL-2.0-or-later

#ifndef _SFCGAL_ALGORITHM_LINESUBSTRING_H_
#define _SFCGAL_ALGORITHM_LINESUBSTRING_H_

// C++
#include <memory>

// SFCGAL
#include "SFCGAL/config.h"

namespace SFCGAL {

// Class forward delclarations.
class LineString;

namespace algorithm {

SFCGAL_API std::unique_ptr<LineString>
           lineSubstring(const LineString &ls, double start, double end);

} // namespace algorithm

} // namespace SFCGAL

#endif // ! _SFCGAL_ALGORITHM_LINESUBSTRING_H_