CGAL::oriented_side

Definition

#include <CGAL/Boolean_set_operations_2.h>

Oriented_side oriented_side ( Type1 p1, Type2 p2)
Each one of these functions returns ON_POSITIVE_SIDE if the two given polygons p1 and p2 intersect in their interior, ON_NEGATIVE_SIDE if p1 and p2 do not intersect at all, and ON_ORIENTED_BOUNDARY if p1 and p2 intersect only in their boundaries.

Arg 1 typeArg 2 type
Polygon_2Polygon_2
Polygon_2Polygon_with_holes_2
Polygon_with_holes_2Polygon_2
Polygon_with_holes_2Polygon_with_holes_2
General_polygon_2General_polygon_2
General_polygon_2General_polygon_with_holes_2
General_polygon_with_holes_2General_polygon_2
General_polygon_with_holes_2General_polygon_with_holes_2

template <class Kernel, class Container>
Oriented_side oriented_side ( Polygon_2<Kernel, Container> p1, Polygon_2<Kernel, Container> p2)
template <class Kernel, class Container>
Oriented_side oriented_side ( Polygon_2<Kernel, Container> p1, Polygon_with_holes_2<Kernel, Container> p2)
template <class Kernel, class Container>
Oriented_side oriented_side ( Polygon_with_holes_2<Kernel, Container> p1, Polygon_2<Kernel, Container> p2)
template <class Kernel, class Container>
Oriented_side
oriented_side ( Polygon_with_holes_2<Kernel, Container> p1,
Polygon_with_holes_2<Kernel, Container> p2)
template <class Traits>
Oriented_side oriented_side ( General_polygon_2<Traits> p1, General_polygon_2<Traits> p2)
template <class Traits>
Oriented_side
oriented_side ( General_polygon_2<Traits> p1,
General_polygon_with_holes_2<General_polygon_2<Traits> > p2)
template <class Traits>
Oriented_side
oriented_side ( General_polygon_with_holes_2<General_polygon_2<Traits> > p1,
General_polygon_2<Traits> p2)
template <class Polygon>
Oriented_side
oriented_side ( General_polygon_with_holes_2<Polygon> p1,
General_polygon_with_holes_2<Polygon> p2)

See Also

CGAL::do_intersect