armarx::wykobi::ext Namespace Reference

Functions

template<typename T >
inline ::wykobi::point2d< Tclosest_point_on_polygon_from_point (const ::wykobi::polygon< T, 2 > &polygon, const ::wykobi::point2d< T > &point)
 Compared to wykobi::closest_point_on_polygon_from_point, this function also projects points inside the polygon onto the boundary. More...
 

Function Documentation

◆ closest_point_on_polygon_from_point()

inline ::wykobi::point2d<T> armarx::wykobi::ext::closest_point_on_polygon_from_point ( const ::wykobi::polygon< T, 2 > &  polygon,
const ::wykobi::point2d< T > &  point 
)

Compared to wykobi::closest_point_on_polygon_from_point, this function also projects points inside the polygon onto the boundary.

Definition at line 33 of file wykobi_ext.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: