Interface GeometricPredicates_2
- All Known Implementing Classes:
ApproximatePredicates_2,ExactPredicates_2,FilteredPredicates_2
public interface GeometricPredicates_2
Interface defining geometric predicates for plane objects (points, segments, rays)
- Version:
- 2.0, updated 12/11/2022 (created dec 2012)
- Author:
- Luca Castelli Aleardi and Steve Oudot (INF562, Ecole Polytechnique)
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if a, b and c lie on a same linebooleandoIntersect(Segment_2 s, Ray_2 r) Returns true if segment s and ray r intersectbooleandoIntersect(Segment_2 s, Segment_2 t) Returns true if segments s and t intersectbooleanTests if point p lies inside the circumcircle of triangle a,b,cbooleanisClockwise(Point_2 a, Point_2 b, Point_2 c) Returns true if a, b and c turn in clockwise direction.booleanisCounterClockwise(Point_2 a, Point_2 b, Point_2 c) Returns true if a, b and c turn in counter-clockwise direction Warning: the result is false if the three points are collinearbooleanReturns true if point p lies on segment abintorientation(Point_2 a, Point_2 b, Point_2 c) Returns the orientation of a, b and c
-
Method Details
-
orientation
-
isCounterClockwise
-
isClockwise
-
collinear
-
inCircle
-
doIntersect
-
doIntersect
-
liesOn
-