Skip to content

File Surface.cpp

File List > src > Surface.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/Surface.h"
#include "SFCGAL/GeometryVisitor.h"

namespace SFCGAL {

Surface::~Surface() = default;

auto
Surface::dimension() const -> int
{
  return 2;
}

Surface::Surface() = default;

Surface::Surface(Surface const &other) = default;

// virtual double area() const = 0 ;
// virtual Point centroid() const = 0 ;
// virtual Point pointOnSurface() const = 0 ;

} // namespace SFCGAL