File ForceOrderPoints.h#
File List > detail > transform > ForceOrderPoints.h
Go to the documentation of this file
// Copyright (c) 2012-2013, IGN France.
// Copyright (c) 2012-2024, Oslandia.
// Copyright (c) 2024-2025, SFCGAL team.
// SPDX-License-Identifier: LGPL-2.0-or-later
#ifndef SFCGAL_TRANSFORM_FORCE_ORDER_POINTS_H_
#define SFCGAL_TRANSFORM_FORCE_ORDER_POINTS_H_
#include "SFCGAL/config.h"
#include "SFCGAL/Kernel.h"
#include "SFCGAL/Transform.h"
namespace SFCGAL {
namespace transform {
class SFCGAL_API ForceOrderPoints : public Transform {
public:
ForceOrderPoints(bool orientCCW = true);
/*
* [SFCGAL::Transform]
*/
void
transform(Point &p) override;
void
visit(Triangle &) override;
void
visit(Polygon &) override;
private:
bool _orientCCW;
};
} // namespace transform
} // namespace SFCGAL
#endif