overlaps_flat_plane.h

Back to Overlap testing

pastel/geometry/overlap/

// Description: Overlap tests between a 2-flat and a plane

#ifndef PASTELGEOMETRY_OVERLAPS_FLAT_PLANE_H
#define PASTELGEOMETRY_OVERLAPS_FLAT_PLANE_H

#include "pastel/geometry/shape/flat.h"
#include "pastel/geometry/shape/plane.h"
#include "pastel/geometry/shape/line.h"

namespace Pastel
{

    //! Tests if a 2-flat and a hyperplane overlap.
    template <typename Real, integer N>
    bool overlaps(
        const Flat<Real, N, 2>& aPlane,
        const Plane<Real, N>& bPlane);

}

#include "pastel/geometry/overlap/overlaps_flat_plane.hpp"

#endif