libigl v2.5.0
Loading...
Searching...
No Matches
segment_segment_intersect.h File Reference
#include "igl_inline.h"
#include <Eigen/Core>
#include "segment_segment_intersect.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename DerivedSource , typename DerivedDir >
bool igl::segment_segment_intersect (const Eigen::MatrixBase< DerivedSource > &p, const Eigen::MatrixBase< DerivedDir > &r, const Eigen::MatrixBase< DerivedSource > &q, const Eigen::MatrixBase< DerivedDir > &s, double &t, double &u, double eps=1e-6)
 Determine whether two line segments A,B intersect.