46 :
type(t==0||t==1 ? SEGMENT_VERTEX : SEGMENT_INTERIOR), t(t), t2(-1)
49 :
type(SEGMENT_SEGMENT), t(t), t2(t2)
63 TRIANGLE_INTERIOR = 0,
73 :
type(t), idx(i), idx2(-1) { }
75 :
type(t), idx(i), idx2(i2) { }
97 triangleSegmentIntersect(
100 template<
bool USEFILTER>
102 triangleSegmentIntersect(
113 intersectProjectedLines(
125 segmentSegmentIntersect(
128 template<
bool USEFILTER>
130 segmentSegmentIntersect(
138 segmentSegmentIntersect(
141 template<
bool USEFILTER>
143 segmentSegmentIntersect(
156 const Real rel_tol = .01,
192 triangleSegmentIntersect2D(
SegmentIntersectionType type
GLboolean GLboolean GLboolean GLboolean a
TriangleIntersectionInfo(TriangleIntersectionType t, int i)
SegmentIntersectionInfo(Real t)
**But if you need a result
SegmentIntersectionType
Where on a segment does the intersection lie.
std::optional< T > UT_Optional
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
GLint GLint GLsizei GLint GLenum GLenum type
TriangleIntersectionInfo(TriangleIntersectionType t, int i, int i2)
GLboolean GLboolean GLboolean b
SegmentIntersectionInfo(Real t, Real t2)
TriangleIntersectionType type
TriangleIntersectionType
Where on the triangle does the intersection lie.
SegmentIntersectionInfo()
fpreal64 Real
Shorthands for common vector types.
TriangleIntersectionInfo()