Class FilteredPredicates_3
java.lang.Object
Jcg.geometry.kernel.FilteredPredicates_3
- All Implemented Interfaces:
GeometricPredicates_3
Filtered geometric predicates for 3D objects (points, segments, rays)
- Version:
- feb 2014
- Author:
- Luca Castelli Aleardi and Steve Oudot (INF562, Ecole Polytechnique)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoIntersect(Segment_3 s, Triangle_3 t) Intersection test between a segment and a triangle in 3D (test is filtered)intorientation(Point_3 a, Point_3 b, Point_3 c, Point_3 d) Compute the orientation of tetrahedron (test is filtered)
-
Field Details
-
epsilon3
private static final double epsilon3- See Also:
-
epsilon4
private static final double epsilon4- See Also:
-
-
Constructor Details
-
FilteredPredicates_3
public FilteredPredicates_3()
-
-
Method Details
-
doIntersect
Intersection test between a segment and a triangle in 3D (test is filtered)- Specified by:
doIntersectin interfaceGeometricPredicates_3- Parameters:
s- a 3D segmentt- a 3D triangle- Returns:
- true whether s and t do intersect, false otherwise
-
orientation
Compute the orientation of tetrahedron (test is filtered)- Specified by:
orientationin interfaceGeometricPredicates_3- Parameters:
a- point 3D (one vertex of a tetrahedron)b- point 3D (one vertex of a tetrahedron)c- point 3D (one vertex of a tetrahedron)d- point 3D (one vertex of a tetrahedron)- Returns:
- +1 if orientation is direct, -1 if orientation is indirect, 0 if points are coplanar
-