Skip to content

Instantly share code, notes, and snippets.

@eyalcohen4
Created April 28, 2017 12:29
Show Gist options
  • Save eyalcohen4/e82157fc6e2c8d84165de100b3e64a8e to your computer and use it in GitHub Desktop.
Save eyalcohen4/e82157fc6e2c8d84165de100b3e64a8e to your computer and use it in GitHub Desktop.
public boolean pointOnSegment(Point p) {
if (p.isRight(_poLeft) && p.isLeft(_poRight)) {
return true;
}
return false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment