Skip to content

File force3D.cpp

File List > algorithm > force3D.cpp

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

#include "SFCGAL/algorithm/force3D.h"
#include "SFCGAL/detail/transform/ForceZ.h"

namespace SFCGAL::algorithm {

void
force3D(Geometry &g, const Kernel::FT &defaultZ)
{
  transform::ForceZ t(defaultZ);
  g.accept(t);
}

} // namespace SFCGAL::algorithm