Skip to content

jenoola/triangle_intersection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains code and tests for a C++ implementation of detection of a triangle intersection in 3D space. The function have_intersection returns true if an intersection is detected and false otherwise. If an exception is caught, have_intersection return false.

Main algorithm is implemented according to Olivier Devillers, Philippe Guigue. Faster Triangle-Triangle Intersection Tests. RR-4488, INRIA. 2002. inria-00072100

Co-planar intersections are handled by impelementing Möller–Trumbore ray-triangle intersection algorithm. Degenerate cases (such as when a triangle turns out to be a point or a segment) are also handled.

More tests are being added.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors