Class GeometricOperations_3

java.lang.Object
Jcg.geometry.GeometricOperations_3

@Deprecated public class GeometricOperations_3 extends Object
Deprecated.
refer to class GeometricConstructions_3 and GeometricPredicates_3
Provides implementations of basic geometric predicates and constructions (in 3D)
  • Field Details

  • 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 public static boolean doIntersect(Segment_3 s, Triangle_3 t)
      Deprecated.
      refer to Jcg.geometry.kernel.GeometricPredicates_3
      Tests whether segment s intersects triangle t (test is filtered)
    • doIntersect

      @Deprecated public static boolean doIntersect(Triangle_3 t1, Triangle_3 t2)
      Deprecated.
      refer to Jcg.geometry.kernel.GeometricPredicates_3
      Tests whether a triangle t1 intersects a triangle t2 (test is filtered)
    • coplanarExact

      public static boolean coplanarExact(Point_3 a, Point_3 b, Point_3 c, Point_3 d)
      Deprecated.
      Test whether four 3D points are coplanar (test is filtered)
    • orientation

      @Deprecated public static int orientation(Point_3 a, Point_3 b, Point_3 c, Point_3 d)
      Deprecated.
      refer to Jcg.geometry.kernel.GeometricPredicates_3
      Returns 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

      public static int sideOfSphere(Point_3 p, Point_3 a, Point_3 b, Point_3 c, Point_3 d)
      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

      public static Point_3 circumCenter(Point_3 p, Point_3 q, Point_3 r, Point_3 s)
      Deprecated.
    • sideOfTetrahedron

      public static int sideOfTetrahedron(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 outside
    • main

      public static void main(String[] args)
      Deprecated.