Skip to content

File ForceM.h#

File List > detail > transform > ForceM.h

Go to the documentation of this file

// Copyright (c) 2025-2025, Oslandia.
// SPDX-License-Identifier: LGPL-2.0-or-later

#ifndef SFCGAL_TRANSFORM_FORCEM_H_
#define SFCGAL_TRANSFORM_FORCEM_H_

#include "SFCGAL/config.h"

#include "SFCGAL/Transform.h"

namespace SFCGAL::transform {

class SFCGAL_API ForceM : public Transform {
public:
  ForceM(const double &defaultM = 0);

  /*
   * [SFCGAL::Transform]
   */
  void
  transform(Point &point) override;

private:
  double _defaultM;
};

} // namespace SFCGAL::transform

#endif