Skip to content

File volume.h

File List > algorithm > volume.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_VOLUME_H_
#define _SFCGAL_ALGORITHM_VOLUME_H_

#include "SFCGAL/Geometry.h"
#include "SFCGAL/Kernel.h"
#include "SFCGAL/export.h"

namespace SFCGAL {
namespace algorithm {

struct NoValidityCheck;

SFCGAL_API const Kernel::FT
                 volume(const Geometry &g);

SFCGAL_API const Kernel::FT
                 volume(const Solid &g, NoValidityCheck);

} // namespace algorithm
} // namespace SFCGAL

#endif