Skip to content

binbin-t/Geomagicians

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here is the Project Phase 1 submitted by

Shi Xudong A0109682Y Tang Binbin A0105559B Croze Elias A0119984M Toh Zijing A0123506R

We have the following output convention:

For in-triangle test, we output 0 for points exactly located on triangle. output -1 for points located outside the triangle. output 1 for points located inside the triangle.

For in-circle test, we output 0 for points exactly located on circle. output -1 for points located outside the circle. output 1 for points located inside the triangle. Especially, for the degenerate case, which means three input points forming a straight line, we output 0 instead of 1 given by the standard output.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published