9#ifndef IGL_PREDICATES_SEGMENT_SEGMENT_INTERSECT_H 
   10#define IGL_PREDICATES_SEGMENT_SEGMENT_INTERSECT_H 
   12#include "../igl_inline.h" 
   27    template <
typename DerivedP>
 
   29      const Eigen::MatrixBase<DerivedP>& A,
 
   30      const Eigen::MatrixBase<DerivedP>& B,
 
   31      const Eigen::MatrixBase<DerivedP>& C,
 
   32      const Eigen::MatrixBase<DerivedP>& D
 
   36#ifndef IGL_STATIC_LIBRARY 
   37#   include "segment_segment_intersect.cpp" 
#define IGL_INLINE
Definition igl_inline.h:15
 
bool segment_segment_intersect(const Eigen::MatrixBase< DerivedP > &A, const Eigen::MatrixBase< DerivedP > &B, const Eigen::MatrixBase< DerivedP > &C, const Eigen::MatrixBase< DerivedP > &D)
Given two segments in 2d test whether they intersect each other using predicates orient2d.