Class GeometricOperations_3
java.lang.Object
Jcg.geometry.GeometricOperations_3
Deprecated.
refer to class GeometricConstructions_3 and GeometricPredicates_3
Provides implementations of basic geometric predicates and constructions (in 3D)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Point_3circumCenter(Point_3 p, Point_3 q, Point_3 r, Point_3 s) Deprecated.static booleancoplanarExact(Point_3 a, Point_3 b, Point_3 c, Point_3 d) Deprecated.Test whether four 3D points are coplanar (test is filtered)static booleandoIntersect(Segment_3 s, Triangle_3 t) Deprecated.refer to Jcg.geometry.kernel.GeometricPredicates_3static booleandoIntersect(Triangle_3 t1, Triangle_3 t2) Deprecated.refer to Jcg.geometry.kernel.GeometricPredicates_3static voidDeprecated.static intorientation(Point_3 a, Point_3 b, Point_3 c, Point_3 d) Deprecated.refer to Jcg.geometry.kernel.GeometricPredicates_3static intDeprecated.Returns the position of p with respect to the circumsphere of tetrahedron (a, b, c, d): +1 if p lies outside the sphere, -1 if p lies inside the sphere, 0 if p lies on the sphere with exact computations (slow but more reliable)static intsideOfTetrahedron(Point_3 p, Point_3[] t) Deprecated.determines on which side of the tetrahedron t point p lies: -1 means inside, 0 means on the boundary, +1 means outsidestatic BigDecimalsquaredistanceExact(BigDecimal px, BigDecimal py, BigDecimal pz, BigDecimal qx, BigDecimal qy, BigDecimal qz) Deprecated.Returns the square of the distance between two 3D points with exact computations (slow but more reliable)
-
Field Details
-
epsilon3
private static final double epsilon3Deprecated.- See Also:
-
epsilon4
private static final double epsilon4Deprecated.- See Also:
-
-
Constructor Details
-
GeometricOperations_3
public GeometricOperations_3()Deprecated.
-
-
Method Details
-
squaredistanceExact
public static BigDecimal squaredistanceExact(BigDecimal px, BigDecimal py, BigDecimal pz, BigDecimal qx, BigDecimal qy, BigDecimal qz) Deprecated.Returns the square of the distance between two 3D points with exact computations (slow but more reliable)- Parameters:
p1- ,p2 the two 3D points- Returns:
- dist the square of the distance
-
doIntersect
Deprecated.refer to Jcg.geometry.kernel.GeometricPredicates_3Tests whether segment s intersects triangle t (test is filtered) -
doIntersect
Deprecated.refer to Jcg.geometry.kernel.GeometricPredicates_3Tests whether a triangle t1 intersects a triangle t2 (test is filtered) -
coplanarExact
-
orientation
Deprecated.refer to Jcg.geometry.kernel.GeometricPredicates_3Returns orientation of tetrahedron (a, b, c, d): +1 if orientation is direct, -1 if orientation is indirect, 0 if points are coplanar (test is filtered) -
sideOfSphere
Deprecated.Returns the position of p with respect to the circumsphere of tetrahedron (a, b, c, d): +1 if p lies outside the sphere, -1 if p lies inside the sphere, 0 if p lies on the sphere with exact computations (slow but more reliable) -
circumCenter
-
sideOfTetrahedron
-
main
Deprecated.
-