0.6.0
Loading...
Searching...
No Matches
mod_cg2_polygon_polygon Module Reference

Functions/Subroutines

pure subroutine cg2_convex_polygon_intersection (polygon1, polygon2, polygon_intersection, intersection_found)
 Intersection of two convex polygons whose points are defined in counterclockwise order.
 
pure subroutine cg2_convex_polygon_clipping (reference_polygon, clip_polygon, clipped_polygon, intersection_found)
 
pure subroutine cg2_polygon_boundary_intersection (polygon1, polygon2, s0, s1, i, j, intersection_found)
 Check if two polygons have a common boundary and compute the intersection.
 

Function/Subroutine Documentation

◆ cg2_convex_polygon_clipping()

pure subroutine mod_cg2_polygon_polygon::cg2_convex_polygon_clipping ( type(t_polygon), intent(in) reference_polygon,
type(t_polygon), intent(in) clip_polygon,
type(t_polygon), intent(out) clipped_polygon,
logical, intent(out) intersection_found )